Type Alias ctru_sys::gxCmdQueue_s

source ·
pub type gxCmdQueue_s = tag_gxCmdQueue_s;
Expand description

GX command queue structure

Aliased Type§

struct gxCmdQueue_s {
    pub entries: *mut gxCmdEntry_s,
    pub maxEntries: u16,
    pub numEntries: u16,
    pub curEntry: u16,
    pub lastEntry: u16,
    pub callback: Option<unsafe extern "C" fn(_: *mut tag_gxCmdQueue_s)>,
    pub user: *mut c_void,
}

Fields§

§entries: *mut gxCmdEntry_s

< Pointer to array of GX command entries

§maxEntries: u16

< Capacity of the command array

§numEntries: u16

< Number of commands in the queue

§curEntry: u16

< Index of the first pending command to be submitted to GX

§lastEntry: u16

< Number of commands completed by GX

§callback: Option<unsafe extern "C" fn(_: *mut tag_gxCmdQueue_s)>

< User callback

§user: *mut c_void

< Data for user callback