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 render
  • vtype: Vertex type to process
  • count: How many vertices to process
  • indices: Optional pointer to an index-list
  • vertices: Pointer to a vertex-list