Пример #1
0
        public int CompareTo(object o)
        {
            TextureRL other = (TextureRL)o;

            if (
                (textureObject == other.textureObject) &&
                (BindTarget == other.BindTarget)
                )
            {
                return(0);
            }
            return(-1);
        }
Пример #2
0
        public void CopyFrom(IUniformValue src)
        {
            TextureRL other = (TextureRL)src;

            textureObject = other.textureObject;
        }