|
sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
|
#include <gsInit.h>
Public Member Functions | |
| void *pool[2] | __attribute__ ((aligned(64))) |
| Pool Base Address (Two of these, since we doublebuffer). | |
Public Attributes | |
| void * | pool_cur |
| Current Pool Address (Offset from Base). | |
| void * | pool_max [2] |
| Pool Maximum Address (Used for bounds checking). | |
| int | last_type |
| Last type of object in this draw queue. | |
| void * | last_tag |
| Pointer to the GIF_TAG of the last object in this draw queue. | |
| int | same_obj |
| Number of times in a row the same REGLIST enabled object has been added (Used for NLOOP fixup later). | |
| void * | dma_tag |
| Pointer to last DMA_TAG. | |
| u32 | tag_size |
| Quadwords in current DMA_TAG. | |
| u8 | mode |
| Mode of the draw queue (NOT USED RIGHT NOW). | |
| int | dbuf |
| Which of the pool[2] buffers we are using. | |
gsQueue Structure This is the structure for gsKit draw queues.
By default, gsKit creates two of these for you. It creates Os_Queue (Oneshot Objects), and Per_Queue. (Persistent Objects)
You can create your own gsQueue objects and load them with prepacked GIF/VIF chains!
| int gsQueue::dbuf |
| void* gsQueue::last_tag |
| int gsQueue::last_type |
| u8 gsQueue::mode |
| void* gsQueue::pool_cur |
| void* gsQueue::pool_max[2] |
| int gsQueue::same_obj |