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

Instance data buffer info.

Fields

data: *const u8

Pointer to data.

size: u32

Data size.

offset: u32

Offset in vertex buffer.

num: u32

Number of instances.

stride: u16

Vertex buffer stride.

handle: u16

Vertex buffer object 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.