KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
Texture loading constants

Macros

#define PVR_TXRLOAD_4BPP   0x01
 4BPP format More...
 
#define PVR_TXRLOAD_8BPP   0x02
 8BPP format More...
 
#define PVR_TXRLOAD_16BPP   0x03
 16BPP format More...
 
#define PVR_TXRLOAD_FMT_MASK   0x0f
 Bits used for basic formats. More...
 
#define PVR_TXRLOAD_VQ_LOAD   0x10
 Do VQ encoding (not supported yet, if ever) More...
 
#define PVR_TXRLOAD_INVERT_Y   0x20
 Invert the Y axis while loading. More...
 
#define PVR_TXRLOAD_FMT_VQ   0x40
 Texture is already VQ encoded. More...
 
#define PVR_TXRLOAD_FMT_TWIDDLED   0x80
 Texture is already twiddled. More...
 
#define PVR_TXRLOAD_FMT_NOTWIDDLE   0x80
 Don't twiddle the texture while loading. More...
 
#define PVR_TXRLOAD_DMA   0x8000
 Use DMA to load the texture. More...
 
#define PVR_TXRLOAD_NONBLOCK   0x4000
 Use non-blocking loads (only for DMA) More...
 
#define PVR_TXRLOAD_SQ   0x2000
 Use store queues to load. More...
 

Detailed Description

These are constants for the flags parameter to pvr_txr_load_ex() or pvr_txr_load_kimg().

Macro Definition Documentation

#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)