Struct raylib::ffi::Mesh[][src]

#[repr(C)]
pub struct Mesh {
Show 15 fields pub vertexCount: i32, pub triangleCount: i32, pub vertices: *mut f32, pub texcoords: *mut f32, pub texcoords2: *mut f32, pub normals: *mut f32, pub tangents: *mut f32, pub colors: *mut u8, pub indices: *mut u16, pub animVertices: *mut f32, pub animNormals: *mut f32, pub boneIds: *mut i32, pub boneWeights: *mut f32, pub vaoId: u32, pub vboId: *mut u32,
}

Fields

vertexCount: i32triangleCount: i32vertices: *mut f32texcoords: *mut f32texcoords2: *mut f32normals: *mut f32tangents: *mut f32colors: *mut u8indices: *mut u16animVertices: *mut f32animNormals: *mut f32boneIds: *mut i32boneWeights: *mut f32vaoId: u32vboId: *mut u32

Trait Implementations

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.