예제 #1
0
 public PvrTextureInfo(PvrTextureInfo tex)
     : this((TextureInfo)tex)
 {
     PixelFormat = tex.PixelFormat;
     DataFormat  = tex.DataFormat;
     TextureData = tex.TextureData;
 }
예제 #2
0
        public GvrTextureInfo(PvrTextureInfo tex)
            : this((TextureInfo)tex)
        {
            switch (tex.DataFormat)
            {
            case PvrDataFormat.Index4:
                DataFormat = GvrDataFormat.Index4;
                break;

            case PvrDataFormat.Index8:
                DataFormat = GvrDataFormat.Index8;
                break;
            }
        }