Skip to main content

make_zero_initialized_index_buffer

Function make_zero_initialized_index_buffer 

pub fn make_zero_initialized_index_buffer(
    size: usize,
) -> Option<RCHandle<SkMesh_IndexBuffer>>
Expand description

Makes a zero-initialized CPU-backed index buffer to be used with super::Meshes.

  • size The size of the resulting buffer, in bytes.