Enum gfx_hal::command::AttachmentClear [−][src]
pub enum AttachmentClear { Color { index: usize, value: ClearColor, }, DepthStencil { depth: Option<DepthValue>, stencil: Option<StencilValue>, }, }
Attachment clear description for the current subpass.
Variants
Clear color attachment.
Show fields
Fields of Color
Clear depth-stencil attachment.
Show fields
Fields of DepthStencil
depth: Option<DepthValue>
Depth value to clear with.
stencil: Option<StencilValue>
Stencil value to clear with.
Trait Implementations
impl Clone for AttachmentClear
[src]
impl Clone for AttachmentClear
[src]fn clone(&self) -> AttachmentClear
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AttachmentClear
[src]
impl Copy for AttachmentClear
[src]Auto Trait Implementations
impl RefUnwindSafe for AttachmentClear
impl RefUnwindSafe for AttachmentClear
impl Send for AttachmentClear
impl Send for AttachmentClear
impl Sync for AttachmentClear
impl Sync for AttachmentClear
impl Unpin for AttachmentClear
impl Unpin for AttachmentClear
impl UnwindSafe for AttachmentClear
impl UnwindSafe for AttachmentClear