Enum vulkano::pipeline::StateMode [−][src]
pub enum StateMode<F> {
Fixed(F),
Dynamic,
}
Expand description
Specifies how a dynamic state is handled by a graphics pipeline.
Variants
Fixed(F)
The pipeline has a fixed value for this state. Previously set dynamic state will be lost when binding it, and will have to be re-set after binding a pipeline that uses it.
Dynamic
The pipeline expects a dynamic value to be set by a command buffer. Previously set dynamic state is not disturbed when binding it.
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for StateMode<F> where
F: RefUnwindSafe,
impl<F> UnwindSafe for StateMode<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.