Enum vulkano::pipeline::blend::LogicOp [] [src]

#[repr(u32)]
pub enum LogicOp { Clear, And, AndReverse, Copy, AndInverted, Noop, Xor, Or, Nor, Equivalent, Invert, OrReverse, CopyInverted, OrInverted, Nand, Set, }

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 Debug for LogicOp
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for LogicOp
[src]

impl Clone for LogicOp
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for LogicOp
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for LogicOp
[src]

impl Default for LogicOp
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for LogicOp

impl Sync for LogicOp