示例#1
0
 public TextureContainter(TextureContainerMx owner, TextureUnit textureUnit, int textureUnitNo)
 {
     _owner         = owner;
     _textureUnit   = textureUnit;
     _textureUnitNo = textureUnitNo;
 }
示例#2
0
 public ShaderSharedResource()
 {
     GL.GetInteger(GetPName.MaxCombinedTextureImageUnits, out int textunit_num);
     _textureContainerMx = new TextureContainerMx(textunit_num);
 }