Function bgfx_rs::static_lib::alloc_transient_vertex_buffer
source · pub fn alloc_transient_vertex_buffer(
tvb: &mut TransientVertexBuffer,
num: u32,
layout: &BuiltVertexLayout
)
Expand description
tvb
: TransientVertexBuffer structure will be filled, and will be valid for the duration of frame, and can be reused for multiple draw calls.num
: Number of vertices to allocate.layout
: Vertex layout.