#[repr(C)]pub struct DrawRange {
pub first_index: u32,
pub index_count: u32,
pub base_vertex: i32,
pub first_instance: u32,
pub instance_count: u32,
}Expand description
One indexed draw call range within a mesh.
Fields§
§first_index: u32§index_count: u32§base_vertex: i32§first_instance: u32§instance_count: u32Implementations§
Trait Implementations§
impl Copy for DrawRange
impl Eq for DrawRange
impl StructuralPartialEq for DrawRange
Auto Trait Implementations§
impl Forget for DrawRange
impl Freeze for DrawRange
impl Move for DrawRange
impl RefUnwindSafe for DrawRange
impl Send for DrawRange
impl Sync for DrawRange
impl Unpin for DrawRange
impl UnsafeUnpin for DrawRange
impl UnwindSafe for DrawRange
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