示例#1
0
 internal CubeMapTexture(CubeMap cubeMap, CubeMapSide side)
     : base(cubeMap.id, cubeMap.Format, TextureTarget.TextureCubeMap, (TextureTarget)side)
 {
     CubeMap = cubeMap;
     Side    = side;
 }
示例#2
0
 public void SetCubeMap(string name, CubeMap val)
 {
     SetCubeMap(ref name, val);
 }
示例#3
0
 public void SetCubeMap(int index, CubeMap val)
 {
     GetUniform <UniformSamplerCube>(index, UniformType.SamplerCube).Val = val;
 }
示例#4
0
 public void SetCubeMap(ref string name, CubeMap val)
 {
     GetUniform <UniformSamplerCube>(ref name, UniformType.SamplerCube).Val = val;
 }