Exemple #1
0
 public override string ToString()
 {
     return(string.Format("CachedTexture[({0:D} x {1:D}), {2}]", Width, Height, VideoEngine.getPsmName(PixelFormat)));
 }
Exemple #2
0
 public override string ToString()
 {
     return(string.Format("Texture[0x{0:X8}, {1:D}x{2:D}, bufferWidth={3:D}, {4}]", addr, width, height, lineWidth, VideoEngine.getPsmName(pixelStorage)));
 }
Exemple #3
0
 public override string ToString()
 {
     return(string.Format("GETexture[0x{0:X8}-0x{1:X8}, {2:D}x{3:D} (texture {4:D}x{5:D}), bufferWidth={6:D}, pixelFormat={7:D}({8})]", address, address + Length, width, height, TexImageWidth, TexImageHeight, bufferWidth, pixelFormat, VideoEngine.getPsmName(pixelFormat)));
 }
Exemple #4
0
 public override string ToString()
 {
     return(string.Format("FBTexture[0x{0:X8}-0x{1:X8}, {2:D}x{3:D}, bufferWidth={4:D}, pixelFormat={5:D}({6})]", address, address + Length, width, height, bufferWidth, pixelFormat, VideoEngine.getPsmName(pixelFormat)));
 }
Exemple #5
0
        public override void setTextureFormat(int pixelFormat, bool swizzle)
        {
            if (isLogDebugEnabled)
            {
//JAVA TO C# CONVERTER TODO TASK: The following line has a Java format specifier which cannot be directly translated to .NET:
//ORIGINAL LINE: Console.WriteLine(String.format("setTextureFormat pixelFormat=%d(%s), swizzle=%b", pixelFormat, pspsharp.graphics.VideoEngine.getPsmName(pixelFormat), swizzle));
                Console.WriteLine(string.Format("setTextureFormat pixelFormat=%d(%s), swizzle=%b", pixelFormat, VideoEngine.getPsmName(pixelFormat), swizzle));
            }
            base.setTextureFormat(pixelFormat, swizzle);
        }