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

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