Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const UByte Texture::FormatBitsPerPixel[116] =
- {
- 0, //Unknown = 0,
- 128, //RGBA32Typeless = 1,
- 128, //RGBA32Float = 2,
- 128, //RGBA32UInt = 3,
- 128, //RGBA32SInt = 4,
- 96, //RGB32Typeless = 5,
- 96, //RGB32Float = 6,
- 96, //RGB32UInt = 7,
- 96, //RGB32SInt = 8,
- 64, //RGBA16Typeless = 9,
- 64, //RGBA16Float = 10,
- 64, //RGBA16UNorm = 11,
- 64, //RGBA16UInt = 12,
- 64, //RGBA16SNorm = 13,
- 64, //RGBA16SInt = 14,
- 64, //RG32Typeless = 15,
- 64, //RG32Float = 16,
- 64, //RG32UInt = 17,
- 64, //RG32SInt = 18,
- 64, //R32G8X24Typeless = 19,
- 64, //D32FloatS8X24UInt = 20,
- 64, //R32FloatX8X24Typeless = 21,
- 64, //X32TypelessG8X24UInt = 22,
- 32, //RGB10A2Typeless = 23,
- 32, //RGB10A2UNorm = 24,
- 32, //RGB10A2UInt = 25,
- 32, //RG11B10Float = 26,
- 32, //RGBA8Typeless = 27,
- 32, //RGBA8UNorm = 28,
- 32, //RGBA8UNorm_sRGB = 29,
- 32, //RGBA8UInt = 30,
- 32, //RGBA8SNorm = 31,
- 32, //RGBA8SInt = 32,
- 32, //RG16Typeless = 33,
- 32, //RG16Float = 34,
- 32, //RG16UNorm = 35,
- 32, //RG16UInt = 36,
- 32, //RG16SNorm = 37,
- 32, //RG16SInt = 38,
- 32, //R32Typeless = 39,
- 32, //D32Float = 40,
- 32, //R32Float = 41,
- 32, //R32UInt = 42,
- 32, //R32SInt = 43,
- 32, //R24G8Typeless = 44,
- 32, //D24UNormS8UInt = 45,
- 32, //R24UNormX8Typeless = 46,
- 32, //X24TypelessG8UInt = 47,
- 16, //RG8Typeless = 48,
- 16, //RG8UNorm = 49,
- 16, //RG8UInt = 50,
- 16, //RG8SNorm = 51,
- 16, //RG8SInt = 52,
- 16, //R16Typeless = 53,
- 16, //R16Float = 54,
- 16, //D16UNorm = 55,
- 16, //R16UNorm = 56,
- 16, //R16UInt = 57,
- 16, //R16SNorm = 58,
- 16, //R16SInt = 59,
- 8, //R8Typeless = 60,
- 8, //R8UNorm = 61,
- 8, //R8UInt = 62,
- 8, //R8SNorm = 63,
- 8, //R8SInt = 64,
- 8, //A8UNorm = 65,
- 1, //R1UNorm = 66,
- 16, //RGB9E5_SHAREDEXP = 67,
- 16, //RG8BG8UNorm = 68,
- 16, //GR8GB8UNorm = 69,
- 4, //BC1Typeless = 70,
- 4, //BC1UNorm = 71,
- 4, //BC1UNorm_sRGB = 72,
- 8, //BC2Typeless = 73,
- 8, //BC2UNorm = 74,
- 8, //BC2UNorm_sRGB = 75,
- 8, //BC3Typeless = 76,
- 8, //BC3UNorm = 77,
- 8, //BC3UNorm_sRGB = 78,
- 8, //BC4Typeless = 79,
- 8, //BC4UNorm = 80,
- 8, //BC4SNorm = 81,
- 8, //BC5Typeless = 82,
- 8, //BC5UNorm = 83,
- 8, //BC5SNorm = 84,
- 16, //B5G6R5UNorm = 85,
- 16, //BGR5A1UNorm = 86,
- 32, //BGRA8UNorm = 87,
- 32, //BGRX8UNorm = 88,
- 32, //RGB10_XR_BIAS_A2UNorm = 89,
- 32, //BGRA8Typeless = 90,
- 32, //BGRA8UNorm_sRGB = 91,
- 32, //BGRX8Typeless = 92,
- 32, //BGRX8UNorm_sRGB = 93,
- 8, //BC6HTypeless = 94,
- 8, //BC6HUF16 = 95,
- 8, //BC6HSF16 = 96,
- 8, //BC7Typeless = 97,
- 8, //BC7UNorm = 98,
- 8, //BC7UNorm_sRGB = 99,
- 0, //AYUV = 100,
- 0, //Y410 = 101,
- 0, //Y416 = 102,
- 0, //NV12 = 103,
- 0, //P010 = 104,
- 0, //P016 = 105,
- 0, //OPAQUE_420 = 106,
- 0, //YUY2 = 107,
- 0, //Y210 = 108,
- 0, //Y216 = 109,
- 0, //NV11 = 110,
- 0, //AI44 = 111,
- 0, //IA44 = 112,
- 0, //P8 = 113,
- 0, //A8P8 = 114,
- 0 //BGRA4UNorm = 115
- };
Advertisement
Add Comment
Please, Sign In to add comment