#[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 c_ushort,
pub animVertices: *mut f32,
pub animNormals: *mut f32,
pub boneIds: *mut u8,
pub boneWeights: *mut f32,
pub vaoId: u32,
pub vboId: *mut u32,
}
Fields§
§vertexCount: i32
§triangleCount: i32
§vertices: *mut f32
§texcoords: *mut f32
§texcoords2: *mut f32
§normals: *mut f32
§tangents: *mut f32
§colors: *mut u8
§indices: *mut c_ushort
§animVertices: *mut f32
§animNormals: *mut f32
§boneIds: *mut u8
§boneWeights: *mut f32
§vaoId: u32
§vboId: *mut u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mesh
impl RefUnwindSafe for Mesh
impl !Send for Mesh
impl !Sync for Mesh
impl Unpin for Mesh
impl UnwindSafe for Mesh
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)