#include "AP_File.h"
Data Structures | |
class | AP_CTexture |
class | AP_Dds |
union | AP_DdsHeader |
Namespaces | |
namespace | AP |
Architecture Platform. | |
Defines | |
#define | ALPHABET 1 |
#define | DDS_MAGIC 0x20534444 |
#define | DDSCAPS_COMPLEX 0x00000008 |
#define | DDSCAPS_MIPMAP 0x00400000 |
#define | DDSCAPS_TEXTURE 0x00001000 |
#define | DDSD_CAPS 0x00000001 |
#define | DDSD_DEPTH 0x00800000 |
#define | DDSD_HEIGHT 0x00000002 |
#define | DDSD_LINEARSIZE 0x00080000 |
#define | DDSD_MIPMAPCOUNT 0x00020000 |
#define | DDSD_PITCH 0x00000008 |
#define | DDSD_PIXELFORMAT 0x00001000 |
#define | DDSD_WIDTH 0x00000004 |
#define | DDSPF_ALPHAPIXELS 0x00000001 |
#define | DDSPF_FOURCC 0x00000004 |
#define | DDSPF_INDEXED 0x00000020 |
#define | DDSPF_RGB 0x00000040 |
#define | DDSPF_RGBA 0x00000041 |
#define | PF_IS_B5G5R5A1(pf) |
#define | PF_IS_B5G6R5(pf) |
#define | PF_IS_B8G8R8(pf) |
#define | PF_IS_B8G8R8A8(pf) |
#define | PF_IS_INDEX8(pf) |
#define ALPHABET 1 |
#define DDS_MAGIC 0x20534444 |
#define DDSCAPS_COMPLEX 0x00000008 |
#define DDSCAPS_MIPMAP 0x00400000 |
#define DDSCAPS_TEXTURE 0x00001000 |
#define DDSD_CAPS 0x00000001 |
#define DDSD_DEPTH 0x00800000 |
#define DDSD_HEIGHT 0x00000002 |
#define DDSD_LINEARSIZE 0x00080000 |
#define DDSD_MIPMAPCOUNT 0x00020000 |
#define DDSD_PITCH 0x00000008 |
#define DDSD_PIXELFORMAT 0x00001000 |
#define DDSD_WIDTH 0x00000004 |
#define DDSPF_ALPHAPIXELS 0x00000001 |
#define DDSPF_FOURCC 0x00000004 |
#define DDSPF_INDEXED 0x00000020 |
#define DDSPF_RGB 0x00000040 |
#define DDSPF_RGBA 0x00000041 |
#define PF_IS_B5G5R5A1 | ( | pf | ) |
Value:
((pf.dwFlags & DDPF_RGB) && \ (pf.dwFlags & DDPF_ALPHAPIXELS) && \ (pf.dwRGBBitCount == 16) && \ (pf.dwRBitMask == 0x00007c00) && \ (pf.dwGBitMask == 0x000003e0) && \ (pf.dwBBitMask == 0x0000001f) && \ (pf.dwAlphaBitMask == 0x00008000))
#define PF_IS_B5G6R5 | ( | pf | ) |
Value:
((pf.dwFlags & DDPF_RGB) && \ !(pf.dwFlags & DDPF_ALPHAPIXELS) && \ (pf.dwRGBBitCount == 16) && \ (pf.dwRBitMask == 0x0000f800) && \ (pf.dwGBitMask == 0x000007e0) && \ (pf.dwBBitMask == 0x0000001f))
#define PF_IS_B8G8R8 | ( | pf | ) |
Value:
((pf.dwFlags & DDPF_ALPHAPIXELS) && \ !(pf.dwFlags & DDPF_ALPHAPIXELS) && \ (pf.dwRGBBitCount == 24) && \ (pf.dwRBitMask == 0xff0000) && \ (pf.dwGBitMask == 0xff00) && \ (pf.dwBBitMask == 0xff))
#define PF_IS_B8G8R8A8 | ( | pf | ) |
Value:
((pf.dwFlags & DDPF_RGB) && \ (pf.dwFlags & DDPF_ALPHAPIXELS) && \ (pf.dwRGBBitCount == 32) && \ (pf.dwRBitMask == 0xff0000) && \ (pf.dwGBitMask == 0xff00) && \ (pf.dwBBitMask == 0xff) && \ (pf.dwAlphaBitMask == 0xff000000U))
#define PF_IS_INDEX8 | ( | pf | ) |
Value:
((pf.dwFlags & DDPF_INDEXED) && \ (pf.dwRGBBitCount == 8))