Skip to main content

INDEX_ORDER

Constant INDEX_ORDER 

Source
const INDEX_ORDER: [usize; 6];
Expand description

The draw vertex each storage slot holds in the indexed row.

A permutation of 0..PATCH_VERTICES: the indexed row uploads vertex INDEX_ORDER[slot] of PATCH into slot, so its vertex buffer is in a different order from the one it draws in.