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: u32
Pointer to data.
offset: u32
Data size.
num: u32
Offset in vertex buffer.
stride: u16
Number of instances.
handle: bgfx_vertex_buffer_handle_t
Vertex 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 moresource§impl Debug for bgfx_instance_data_buffer_s
impl Debug for bgfx_instance_data_buffer_s
impl Copy for bgfx_instance_data_buffer_s
Auto Trait Implementations§
impl Freeze for bgfx_instance_data_buffer_s
impl RefUnwindSafe for bgfx_instance_data_buffer_s
impl !Send for bgfx_instance_data_buffer_s
impl !Sync for bgfx_instance_data_buffer_s
impl Unpin for bgfx_instance_data_buffer_s
impl UnwindSafe for bgfx_instance_data_buffer_s
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more