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
sourceimpl TransientIndexBuffer
impl TransientIndexBuffer
pub fn new() -> TransientIndexBuffer
Auto Trait Implementations
impl RefUnwindSafe for TransientIndexBuffer
impl !Send for TransientIndexBuffer
impl !Sync for TransientIndexBuffer
impl Unpin for TransientIndexBuffer
impl UnwindSafe for TransientIndexBuffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more