Function meshopt::ffi::meshopt_analyzeOverdraw [−][src]
pub unsafe extern "C" fn meshopt_analyzeOverdraw(
indices: *const c_uint,
index_count: usize,
vertex_positions: *const f32,
vertex_count: usize,
vertex_positions_stride: usize
) -> meshopt_OverdrawStatistics
Overdraw analyzer Returns overdraw statistics using a software rasterizer Results may not match actual GPU performance
vertex_positions should have float3 position in the first 12 bytes of each vertex - similar to glVertexPointer