sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
gsQueue Struct Reference

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

Detailed Description

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!

Definition at line 856 of file gsInit.h.

Member Data Documentation

◆ dbuf

int gsQueue::dbuf

Which of the pool[2] buffers we are using.

Definition at line 871 of file gsInit.h.

◆ dma_tag

void* gsQueue::dma_tag

Pointer to last DMA_TAG.

Definition at line 867 of file gsInit.h.

◆ last_tag

void* gsQueue::last_tag

Pointer to the GIF_TAG of the last object in this draw queue.

Definition at line 863 of file gsInit.h.

◆ last_type

int gsQueue::last_type

Last type of object in this draw queue.

Definition at line 862 of file gsInit.h.

◆ mode

u8 gsQueue::mode

Mode of the draw queue (NOT USED RIGHT NOW).

Definition at line 870 of file gsInit.h.

◆ pool_cur

void* gsQueue::pool_cur

Current Pool Address (Offset from Base).

Definition at line 859 of file gsInit.h.

◆ pool_max

void* gsQueue::pool_max[2]

Pool Maximum Address (Used for bounds checking).

Definition at line 860 of file gsInit.h.

◆ same_obj

int gsQueue::same_obj

Number of times in a row the same REGLIST enabled object has been added (Used for NLOOP fixup later).

Definition at line 865 of file gsInit.h.

◆ tag_size

u32 gsQueue::tag_size

Quadwords in current DMA_TAG.

Definition at line 868 of file gsInit.h.


The documentation for this struct was generated from the following file: