22 struct PVR_Texture_Header
29 u32 dwTextureDataSize;
39 const u32 PVRTEX_MIPMAP = (1<<8);
40 const u32 PVRTEX_TWIDDLE = (1<<9);
41 const u32 PVRTEX_BUMPMAP = (1<<10);
42 const u32 PVRTEX_TILING = (1<<11);
43 const u32 PVRTEX_CUBEMAP = (1<<12);
44 const u32 PVRTEX_FALSEMIPCOL = (1<<13);
45 const u32 PVRTEX_VOLUME = (1<<14);
46 const u32 PVRTEX_ALPHA = (1<<15);
47 const u32 PVRTEX_VERTICAL_FLIP = (1<<16);
49 const u32 PVRTEX_PIXELTYPE = 0xff;
50 const u32 PVRTEX_IDENTIFIER = 0x21525650;
52 const u32 PVRTEX_V1_HEADER_SIZE = 44;
54 const u32 PVRTC2_MIN_TEXWIDTH = 16;
55 const u32 PVRTC2_MIN_TEXHEIGHT = 8;
56 const u32 PVRTC4_MIN_TEXWIDTH = 8;
57 const u32 PVRTC4_MIN_TEXHEIGHT = 8;
58 const u32 ETC_MIN_TEXWIDTH = 4;
59 const u32 ETC_MIN_TEXHEIGHT = 4;
60 const u32 DXT_MIN_TEXWIDTH = 4;
61 const u32 DXT_MIN_TEXHEIGHT = 4;
66 MGLPT_ARGB_4444 = 0x00,
140 ETC_RGBA_INTERPOLATED,
154 DX10_R32G32B32A32_FLOAT= 0x50,
155 DX10_R32G32B32A32_UINT ,
156 DX10_R32G32B32A32_SINT,
158 DX10_R32G32B32_FLOAT,
162 DX10_R16G16B16A16_FLOAT ,
163 DX10_R16G16B16A16_UNORM,
164 DX10_R16G16B16A16_UINT ,
165 DX10_R16G16B16A16_SNORM ,
166 DX10_R16G16B16A16_SINT ,
172 DX10_R10G10B10A2_UNORM ,
173 DX10_R10G10B10A2_UINT ,
175 DX10_R11G11B10_FLOAT ,
177 DX10_R8G8B8A8_UNORM ,
178 DX10_R8G8B8A8_UNORM_SRGB ,
180 DX10_R8G8B8A8_SNORM ,
211 DX10_R9G9B9E5_SHAREDEXP,
212 DX10_R8G8_B8G8_UNORM,
213 DX10_G8R8_G8B8_UNORM,
234 ePT_VG_sRGBX_8888 = 0x90,
236 ePT_VG_sRGBA_8888_PRE,
243 ePT_VG_lRGBA_8888_PRE,
251 ePT_VG_sARGB_8888_PRE,
256 ePT_VG_lARGB_8888_PRE,
261 ePT_VG_sBGRA_8888_PRE,
267 ePT_VG_lBGRA_8888_PRE,
272 ePT_VG_sABGR_8888_PRE,
277 ePT_VG_lABGR_8888_PRE,
282 MGLPT_NOTYPE = 0xffffffff