Type Alias gxCmdQueue_s

Source
pub type gxCmdQueue_s = tag_gxCmdQueue_s;
Expand description

GX command queue structure

Aliased Type§

#[repr(C)]
pub 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