pub struct SubMesh {
pub first_byte: u32,
pub index_count: u32,
pub topology: i64,
pub base_vertex: u32,
}Expand description
A submesh: a run of the index buffer.
Fields§
§first_byte: u32Into the index buffer, in bytes.
index_count: u32How many indices the run holds.
topology: i64Unity’s MeshTopology (0: triangles).
base_vertex: u32baseVertex as stored: the vertex the run’s indices count from.
Trait Implementations§
impl Copy for SubMesh
impl Eq for SubMesh
impl StructuralPartialEq for SubMesh
Auto Trait Implementations§
impl Freeze for SubMesh
impl RefUnwindSafe for SubMesh
impl Send for SubMesh
impl Sync for SubMesh
impl Unpin for SubMesh
impl UnsafeUnpin for SubMesh
impl UnwindSafe for SubMesh
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.