pub enum RenderTargetLoad {
Load,
Clear(Color),
}Expand description
How a target-rendering pass initializes its destination pixels.
Variants§
Load
Preserve existing target pixels and blend new geometry over them.
Clear(Color)
Clear the target to normalized finite straight-linear RGBA before drawing.
Trait Implementations§
Source§impl Clone for RenderTargetLoad
impl Clone for RenderTargetLoad
Source§fn clone(&self) -> RenderTargetLoad
fn clone(&self) -> RenderTargetLoad
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 moreimpl Copy for RenderTargetLoad
Source§impl Debug for RenderTargetLoad
impl Debug for RenderTargetLoad
Source§impl PartialEq for RenderTargetLoad
impl PartialEq for RenderTargetLoad
impl StructuralPartialEq for RenderTargetLoad
Auto Trait Implementations§
impl Freeze for RenderTargetLoad
impl RefUnwindSafe for RenderTargetLoad
impl Send for RenderTargetLoad
impl Sync for RenderTargetLoad
impl Unpin for RenderTargetLoad
impl UnsafeUnpin for RenderTargetLoad
impl UnwindSafe for RenderTargetLoad
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