Skip to main content

index_buffer

Function index_buffer 

Source
fn index_buffer() -> Vec<u32>
Expand description

The index buffer the indexed row binds.

Draw vertex i is stored in slot slot where INDEX_ORDER[slot] == i, so the buffer names that slot in draw order and nothing else. It is an u32 list like any other caller’s; the mesh source picks the width it uploads them as.