pub struct DrawCall {
pub depth: f32,
pub color: u32,
pub kind: DrawKind,
}Expand description
Tagged draw call stored in the queue.
Fields§
§depth: f32Camera-space z of the face/edge centroid — larger = further away.
color: u32Pre-lit 0x00RRGGBB colour.
kind: DrawKindTrait Implementations§
Auto Trait Implementations§
impl Freeze for DrawCall
impl RefUnwindSafe for DrawCall
impl Send for DrawCall
impl Sync for DrawCall
impl Unpin for DrawCall
impl UnsafeUnpin for DrawCall
impl UnwindSafe for DrawCall
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