pub struct RenderPassDesc {
pub label: Option<String>,
pub owner: Option<NodeKey>,
pub program: ProgramId,
pub targets: Vec<RenderTargetRef>,
pub bindings: Vec<Binding>,
pub vertex_buffers: Vec<BufferId>,
pub index_buffer: Option<(BufferId, IndexFormat)>,
pub draw: DrawCommand,
pub scissor: Option<ScissorRect>,
}Fields§
§label: Option<String>§owner: Option<NodeKey>§program: ProgramId§targets: Vec<RenderTargetRef>§bindings: Vec<Binding>§vertex_buffers: Vec<BufferId>§index_buffer: Option<(BufferId, IndexFormat)>§draw: DrawCommand§scissor: Option<ScissorRect>Trait Implementations§
Source§impl Clone for RenderPassDesc
impl Clone for RenderPassDesc
Source§fn clone(&self) -> RenderPassDesc
fn clone(&self) -> RenderPassDesc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RenderPassDesc
impl RefUnwindSafe for RenderPassDesc
impl Send for RenderPassDesc
impl Sync for RenderPassDesc
impl Unpin for RenderPassDesc
impl UnsafeUnpin for RenderPassDesc
impl UnwindSafe for RenderPassDesc
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