#[repr(C)]
pub struct TransientVertexBuffer { pub data: *const u8, pub size: u32, pub start_vertex: u32, pub stride: u16, pub handle: u16, pub layout_handle: u16, }
Expand description

Transient vertex buffer.

Fields

data: *const u8

Pointer to data.

size: u32

Data size.

start_vertex: u32

First vertex.

stride: u16

Vertex stride.

handle: u16

Vertex buffer handle.

layout_handle: u16

Vertex layout handle.

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.