KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Texture loading constants More...
Macros | |
#define | PVR_TXRLOAD_4BPP 0x01 |
4BPP format | |
#define | PVR_TXRLOAD_8BPP 0x02 |
8BPP format | |
#define | PVR_TXRLOAD_16BPP 0x03 |
16BPP format | |
#define | PVR_TXRLOAD_FMT_MASK 0x0f |
Bits used for basic formats. | |
#define | PVR_TXRLOAD_VQ_LOAD 0x10 |
Do VQ encoding (not supported yet, if ever) | |
#define | PVR_TXRLOAD_INVERT_Y 0x20 |
Invert the Y axis while loading. | |
#define | PVR_TXRLOAD_FMT_VQ 0x40 |
Texture is already VQ encoded. | |
#define | PVR_TXRLOAD_FMT_TWIDDLED 0x80 |
Texture is already twiddled. | |
#define | PVR_TXRLOAD_FMT_NOTWIDDLE 0x80 |
Don't twiddle the texture while loading. | |
#define | PVR_TXRLOAD_DMA 0x8000 |
Use DMA to load the texture. | |
#define | PVR_TXRLOAD_NONBLOCK 0x4000 |
Use non-blocking loads (only for DMA) | |
#define | PVR_TXRLOAD_SQ 0x2000 |
Use Store Queues to load. | |
Texture loading constants
These are constants for the flags parameter to pvr_txr_load_ex() or pvr_txr_load_kimg().
#define PVR_TXRLOAD_16BPP 0x03 |
16BPP format
#define PVR_TXRLOAD_4BPP 0x01 |
4BPP format
#define PVR_TXRLOAD_8BPP 0x02 |
8BPP format
#define PVR_TXRLOAD_DMA 0x8000 |
Use DMA to load the texture.
#define PVR_TXRLOAD_FMT_MASK 0x0f |
Bits used for basic formats.
#define PVR_TXRLOAD_FMT_NOTWIDDLE 0x80 |
Don't twiddle the texture while loading.
#define PVR_TXRLOAD_FMT_TWIDDLED 0x80 |
Texture is already twiddled.
#define PVR_TXRLOAD_FMT_VQ 0x40 |
Texture is already VQ encoded.
#define PVR_TXRLOAD_INVERT_Y 0x20 |
Invert the Y axis while loading.
#define PVR_TXRLOAD_NONBLOCK 0x4000 |
Use non-blocking loads (only for DMA)
#define PVR_TXRLOAD_SQ 0x2000 |
Use Store Queues to load.
#define PVR_TXRLOAD_VQ_LOAD 0x10 |
Do VQ encoding (not supported yet, if ever)