Enum vulkano::pipeline::graphics::color_blend::BlendOp [−][src]
#[repr(i32)]
pub enum BlendOp {
Add,
Subtract,
ReverseSubtract,
Min,
Max,
}
Expand description
The arithmetic operation that is applied between the source
and destination
component
values, after the appropriate BlendFactor
is applied to both.
Variants
Add
source + destination
.
Subtract
source - destination
.
ReverseSubtract
destination - source
.
Min
min(source, destination)
.
Max
max(source, destination)
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BlendOp
impl UnwindSafe for BlendOp
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.