Skip to main content

copy_vertex_buffer

Function copy_vertex_buffer 

pub fn copy_vertex_buffer(
    src: &RCHandle<SkMesh_VertexBuffer>,
) -> Option<RCHandle<SkMesh_VertexBuffer>>
Expand description

Makes a copy of a vertex buffer. The copy will be CPU-backed.

Returns None if the contents of src can not be read back (GPU-backed buffers).