pub struct CpuDrawCall {
pub start_idx: u32,
pub end_idx: u32,
pub vertex_offset: i32,
pub material_index: u32,
}
Expand description
All the information needed to dispatch a CPU draw call.
Fields§
§start_idx: u32
§end_idx: u32
§vertex_offset: i32
§material_index: u32
Trait Implementations§
Source§impl Clone for CpuDrawCall
impl Clone for CpuDrawCall
Source§fn clone(&self) -> CpuDrawCall
fn clone(&self) -> CpuDrawCall
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CpuDrawCall
impl RefUnwindSafe for CpuDrawCall
impl Send for CpuDrawCall
impl Sync for CpuDrawCall
impl Unpin for CpuDrawCall
impl UnwindSafe for CpuDrawCall
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