KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches

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.
 

Detailed Description

Texture loading constants

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

Macro Definition Documentation

◆ PVR_TXRLOAD_16BPP

#define PVR_TXRLOAD_16BPP   0x03

16BPP format

◆ PVR_TXRLOAD_4BPP

#define PVR_TXRLOAD_4BPP   0x01

4BPP format

◆ PVR_TXRLOAD_8BPP

#define PVR_TXRLOAD_8BPP   0x02

8BPP format

◆ PVR_TXRLOAD_DMA

#define PVR_TXRLOAD_DMA   0x8000

Use DMA to load the texture.

◆ PVR_TXRLOAD_FMT_MASK

#define PVR_TXRLOAD_FMT_MASK   0x0f

Bits used for basic formats.

◆ PVR_TXRLOAD_FMT_NOTWIDDLE

#define PVR_TXRLOAD_FMT_NOTWIDDLE   0x80

Don't twiddle the texture while loading.

◆ PVR_TXRLOAD_FMT_TWIDDLED

#define PVR_TXRLOAD_FMT_TWIDDLED   0x80

Texture is already twiddled.

◆ PVR_TXRLOAD_FMT_VQ

#define PVR_TXRLOAD_FMT_VQ   0x40

Texture is already VQ encoded.

◆ PVR_TXRLOAD_INVERT_Y

#define PVR_TXRLOAD_INVERT_Y   0x20

Invert the Y axis while loading.

◆ PVR_TXRLOAD_NONBLOCK

#define PVR_TXRLOAD_NONBLOCK   0x4000

Use non-blocking loads (only for DMA)

◆ PVR_TXRLOAD_SQ

#define PVR_TXRLOAD_SQ   0x2000

Use Store Queues to load.

◆ PVR_TXRLOAD_VQ_LOAD

#define PVR_TXRLOAD_VQ_LOAD   0x10

Do VQ encoding (not supported yet, if ever)