#[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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.