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