Function psp::sys::sceGuDrawArray
source · #[no_mangle]
pub unsafe extern "C" fn sceGuDrawArray(
prim: GuPrimitive,
vtype: VertexType,
count: i32,
indices: *const c_void,
vertices: *const c_void
)
Expand description
Draw array of vertices forming primitives
Vertex order:
- Weights (0-8)
- Texture UV
- Color
- Normal
- Position
§Note
Every vertex must align to 32 bits, which means that you HAVE to pad if it does not add up!
§Parameters
prim
: What kind of primitives to rendervtype
: Vertex type to processcount
: How many vertices to processindices
: Optional pointer to an index-listvertices
: Pointer to a vertex-list