Struct bgfx_rs::static_lib::TransientIndexBuffer
source · #[repr(C)]pub struct TransientIndexBuffer {
pub data: *const u8,
pub size: u32,
pub start_index: u32,
pub handle: u16,
pub is_index_16: bool,
}
Expand description
Transient index buffer.
Fields§
§data: *const u8
Pointer to data.
size: u32
Data size.
start_index: u32
First index.
handle: u16
Index buffer handle.
is_index_16: bool
Index buffer format is 16-bits if true, otherwise it is 32-bit.
Implementations§
source§impl TransientIndexBuffer
impl TransientIndexBuffer
pub fn new() -> TransientIndexBuffer
Auto Trait Implementations§
impl Freeze for TransientIndexBuffer
impl RefUnwindSafe for TransientIndexBuffer
impl !Send for TransientIndexBuffer
impl !Sync for TransientIndexBuffer
impl Unpin for TransientIndexBuffer
impl UnwindSafe for TransientIndexBuffer
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