Function make_zero_initialized_index_buffer
pub fn make_zero_initialized_index_buffer(
context: &mut RCHandle<GrDirectContext>,
size: usize,
) -> Option<RCHandle<SkMesh_IndexBuffer>>Expand description
Makes a zero-initialized GPU-backed index buffer to be used with crate::Meshes.
contextThe buffer will be created on the corresponding GPU and will only be compatible with surfaces using the same context.sizeThe size of the resulting buffer, in bytes.