pub struct WgpuDrawCall {
pub shader_id: ShaderId,
pub pipeline_id: PipelineId,
pub textures: [Option<usize>; 2],
pub vertex_buffer_offset: BufferAddress,
pub vertex_count: usize,
pub viewport: Vec4,
pub scissor: [u32; 4],
}
Fields§
§shader_id: ShaderId
§pipeline_id: PipelineId
§textures: [Option<usize>; 2]
§vertex_buffer_offset: BufferAddress
§vertex_count: usize
§viewport: Vec4
§scissor: [u32; 4]
Auto Trait Implementations§
impl Freeze for WgpuDrawCall
impl RefUnwindSafe for WgpuDrawCall
impl Send for WgpuDrawCall
impl Sync for WgpuDrawCall
impl Unpin for WgpuDrawCall
impl UnwindSafe for WgpuDrawCall
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