public void CopyTo(Material dest) { dest.AmbientColor = AmbientColor; dest.BackfaceCulling = BackfaceCulling; dest.DiffuseColor = DiffuseColor; dest.EmissiveColor = EmissiveColor; dest.FogEnable = FogEnable; dest.GouraudShading = GouraudShading; dest.Lighting = Lighting; dest.MaterialType = MaterialType; dest.MaterialTypeParam = MaterialTypeParam; dest.NormalizeNormals = NormalizeNormals; dest.Shininess = Shininess; dest.SpecularColor = SpecularColor; dest.Texture1 = Texture1; dest.Texture2 = Texture2; dest.Texture3 = Texture3; dest.Texture4 = Texture4; dest.Wireframe = Wireframe; dest.ZBuffer = ZBuffer; dest.ZWriteEnable = ZWriteEnable; }
public void SetMaterial(Material mat) { VideoDriver_SetMaterial(_raw, mat.Raw); }