Enum vulkano::pipeline::blend::LogicOp [−][src]
Which logical operation to apply to the output values.
The operation is applied individually for each channel (red, green, blue and alpha).
Only relevant for integer or unsigned attachments.
Also note that some implementations don’t support logic operations.
Variants
Returns 0
.
Returns source & destination
.
Returns source & !destination
.
Returns source
.
Returns !source & destination
.
Returns destination
.
Returns source ^ destination
.
Returns source | destination
.
Returns !(source | destination)
.
Returns !(source ^ destination)
.
Returns !destination
.
Returns `source | !destination.
Returns !source
.
Returns !source | destination
.
Returns !(source & destination)
.
Returns !0
(all bits set to 1).
Trait Implementations
impl Clone for LogicOp
[src]
impl Copy for LogicOp
[src]
impl Debug for LogicOp
[src]
impl Default for LogicOp
[src]
impl Eq for LogicOp
[src]
impl PartialEq<LogicOp> for LogicOp
[src]
fn eq(&self, other: &LogicOp) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for LogicOp
[src]
impl StructuralPartialEq for LogicOp
[src]
Auto Trait Implementations
impl RefUnwindSafe for LogicOp
impl Send for LogicOp
impl Sync for LogicOp
impl Unpin for LogicOp
impl UnwindSafe for LogicOp
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn is_size_suitable(usize) -> bool
[src]
pub fn indiv_size() -> usize
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,