Enum rokol::gfx::PassActionKind [−][src]
#[repr(u32)]
pub enum PassActionKind {
_Default,
Clear,
Load,
DontCare,
}
Expand description
Actions to be performed at the start of a rendering pass in begin_pass
or begin_default_pass
A separate action and clear values can be defined for each color attachment, and for the depth-stencil attachment.
The default clear values
- SG_DEFAULT_CLEAR_RED: 0.5f
- SG_DEFAULT_CLEAR_GREEN: 0.5f
- SG_DEFAULT_CLEAR_BLUE: 0.5f
- SG_DEFAULT_CLEAR_ALPHA: 1.0f
- SG_DEFAULT_CLEAR_DEPTH: 1.0f
- SG_DEFAULT_CLEAR_STENCIL: 0
Variants
_Default
Clear
Load
DontCare
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PassActionKind
impl Send for PassActionKind
impl Sync for PassActionKind
impl Unpin for PassActionKind
impl UnwindSafe for PassActionKind
Blanket Implementations
Mutably borrows from an owned value. Read more