Function crayon::video::update_index_buffer
source · pub fn update_index_buffer(
handle: MeshHandle,
offset: usize,
data: &[u8]
) -> CrResult<()>
Expand description
Update a subset of dynamic index buffer. Use offset
specifies the offset
into the buffer object’s data store where data replacement will begin, measured
in bytes.