Struct bgfx_sys::bgfx_instance_data_buffer_s
source · #[repr(C)]pub struct bgfx_instance_data_buffer_s {
pub data: *mut u8,
pub size: u32,
pub offset: u32,
pub num: u32,
pub stride: u16,
pub handle: bgfx_vertex_buffer_handle_t,
}Expand description
Instance data buffer info.
Fields§
§data: *mut u8§size: u32Pointer to data.
offset: u32Data size.
num: u32Offset in vertex buffer.
stride: u16Number of instances.
handle: bgfx_vertex_buffer_handle_tVertex buffer stride.
Trait Implementations§
source§impl Clone for bgfx_instance_data_buffer_s
impl Clone for bgfx_instance_data_buffer_s
source§fn clone(&self) -> bgfx_instance_data_buffer_s
fn clone(&self) -> bgfx_instance_data_buffer_s
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more