Exemple #1
0
        internal override void Unbind()
        {
            if (_texture != null)
            {
                _texture.Unbind();
            }

            foreach (MDL0TextureNode t in PAT0Textures.Values)
            {
                t.Unbind();
            }
        }
        internal override void Unbind(GLContext ctx)
        {
            if (_texture != null && _texture._context != null)
            {
                _texture.Unbind();
            }

            foreach (MDL0TextureNode t in PAT0Textures.Values)
            {
                if (t._context != null)
                {
                    t.Unbind();
                }
            }
        }