Skip to main content

BlendOp

Struct BlendOp 

Source
#[repr(transparent)]
pub struct BlendOp(pub i32);
Expand description

Open integer representation of VkBlendOp.

Khronos reference: VkBlendOp

Tuple Fields§

§0: i32

Implementations§

Source§

impl BlendOp

Source

pub const ADD: Self

Native value VK_BLEND_OP_ADD.

Khronos reference: VK_BLEND_OP_ADD

Source

pub const SUBTRACT: Self

Native value VK_BLEND_OP_SUBTRACT.

Khronos reference: VK_BLEND_OP_SUBTRACT

Source

pub const REVERSE_SUBTRACT: Self

Native value VK_BLEND_OP_REVERSE_SUBTRACT.

Khronos reference: VK_BLEND_OP_REVERSE_SUBTRACT

Source

pub const MIN: Self

Native value VK_BLEND_OP_MIN.

Khronos reference: VK_BLEND_OP_MIN

Source

pub const MAX: Self

Native value VK_BLEND_OP_MAX.

Khronos reference: VK_BLEND_OP_MAX

Source

pub const ZERO_EXT: Self

Native value VK_BLEND_OP_ZERO_EXT.

Khronos reference: VK_BLEND_OP_ZERO_EXT

Source

pub const SRC_EXT: Self

Native value VK_BLEND_OP_SRC_EXT.

Khronos reference: VK_BLEND_OP_SRC_EXT

Source

pub const DST_EXT: Self

Native value VK_BLEND_OP_DST_EXT.

Khronos reference: VK_BLEND_OP_DST_EXT

Source

pub const SRC_OVER_EXT: Self

Native value VK_BLEND_OP_SRC_OVER_EXT.

Khronos reference: VK_BLEND_OP_SRC_OVER_EXT

Source

pub const DST_OVER_EXT: Self

Native value VK_BLEND_OP_DST_OVER_EXT.

Khronos reference: VK_BLEND_OP_DST_OVER_EXT

Source

pub const SRC_IN_EXT: Self

Native value VK_BLEND_OP_SRC_IN_EXT.

Khronos reference: VK_BLEND_OP_SRC_IN_EXT

Source

pub const DST_IN_EXT: Self

Native value VK_BLEND_OP_DST_IN_EXT.

Khronos reference: VK_BLEND_OP_DST_IN_EXT

Source

pub const SRC_OUT_EXT: Self

Native value VK_BLEND_OP_SRC_OUT_EXT.

Khronos reference: VK_BLEND_OP_SRC_OUT_EXT

Source

pub const DST_OUT_EXT: Self

Native value VK_BLEND_OP_DST_OUT_EXT.

Khronos reference: VK_BLEND_OP_DST_OUT_EXT

Source

pub const SRC_ATOP_EXT: Self

Native value VK_BLEND_OP_SRC_ATOP_EXT.

Khronos reference: VK_BLEND_OP_SRC_ATOP_EXT

Source

pub const DST_ATOP_EXT: Self

Native value VK_BLEND_OP_DST_ATOP_EXT.

Khronos reference: VK_BLEND_OP_DST_ATOP_EXT

Source

pub const XOR_EXT: Self

Native value VK_BLEND_OP_XOR_EXT.

Khronos reference: VK_BLEND_OP_XOR_EXT

Source

pub const MULTIPLY_EXT: Self

Native value VK_BLEND_OP_MULTIPLY_EXT.

Khronos reference: VK_BLEND_OP_MULTIPLY_EXT

Source

pub const SCREEN_EXT: Self

Native value VK_BLEND_OP_SCREEN_EXT.

Khronos reference: VK_BLEND_OP_SCREEN_EXT

Source

pub const OVERLAY_EXT: Self

Native value VK_BLEND_OP_OVERLAY_EXT.

Khronos reference: VK_BLEND_OP_OVERLAY_EXT

Source

pub const DARKEN_EXT: Self

Native value VK_BLEND_OP_DARKEN_EXT.

Khronos reference: VK_BLEND_OP_DARKEN_EXT

Source

pub const LIGHTEN_EXT: Self

Native value VK_BLEND_OP_LIGHTEN_EXT.

Khronos reference: VK_BLEND_OP_LIGHTEN_EXT

Source

pub const COLORDODGE_EXT: Self

Native value VK_BLEND_OP_COLORDODGE_EXT.

Khronos reference: VK_BLEND_OP_COLORDODGE_EXT

Source

pub const COLORBURN_EXT: Self

Native value VK_BLEND_OP_COLORBURN_EXT.

Khronos reference: VK_BLEND_OP_COLORBURN_EXT

Source

pub const HARDLIGHT_EXT: Self

Native value VK_BLEND_OP_HARDLIGHT_EXT.

Khronos reference: VK_BLEND_OP_HARDLIGHT_EXT

Source

pub const SOFTLIGHT_EXT: Self

Native value VK_BLEND_OP_SOFTLIGHT_EXT.

Khronos reference: VK_BLEND_OP_SOFTLIGHT_EXT

Source

pub const DIFFERENCE_EXT: Self

Native value VK_BLEND_OP_DIFFERENCE_EXT.

Khronos reference: VK_BLEND_OP_DIFFERENCE_EXT

Source

pub const EXCLUSION_EXT: Self

Native value VK_BLEND_OP_EXCLUSION_EXT.

Khronos reference: VK_BLEND_OP_EXCLUSION_EXT

Source

pub const INVERT_EXT: Self

Native value VK_BLEND_OP_INVERT_EXT.

Khronos reference: VK_BLEND_OP_INVERT_EXT

Source

pub const INVERT_RGB_EXT: Self

Native value VK_BLEND_OP_INVERT_RGB_EXT.

Khronos reference: VK_BLEND_OP_INVERT_RGB_EXT

Source

pub const LINEARDODGE_EXT: Self

Native value VK_BLEND_OP_LINEARDODGE_EXT.

Khronos reference: VK_BLEND_OP_LINEARDODGE_EXT

Source

pub const LINEARBURN_EXT: Self

Native value VK_BLEND_OP_LINEARBURN_EXT.

Khronos reference: VK_BLEND_OP_LINEARBURN_EXT

Source

pub const VIVIDLIGHT_EXT: Self

Native value VK_BLEND_OP_VIVIDLIGHT_EXT.

Khronos reference: VK_BLEND_OP_VIVIDLIGHT_EXT

Source

pub const LINEARLIGHT_EXT: Self

Native value VK_BLEND_OP_LINEARLIGHT_EXT.

Khronos reference: VK_BLEND_OP_LINEARLIGHT_EXT

Source

pub const PINLIGHT_EXT: Self

Native value VK_BLEND_OP_PINLIGHT_EXT.

Khronos reference: VK_BLEND_OP_PINLIGHT_EXT

Source

pub const HARDMIX_EXT: Self

Native value VK_BLEND_OP_HARDMIX_EXT.

Khronos reference: VK_BLEND_OP_HARDMIX_EXT

Source

pub const HSL_HUE_EXT: Self

Native value VK_BLEND_OP_HSL_HUE_EXT.

Khronos reference: VK_BLEND_OP_HSL_HUE_EXT

Source

pub const HSL_SATURATION_EXT: Self

Native value VK_BLEND_OP_HSL_SATURATION_EXT.

Khronos reference: VK_BLEND_OP_HSL_SATURATION_EXT

Source

pub const HSL_COLOR_EXT: Self

Native value VK_BLEND_OP_HSL_COLOR_EXT.

Khronos reference: VK_BLEND_OP_HSL_COLOR_EXT

Source

pub const HSL_LUMINOSITY_EXT: Self

Native value VK_BLEND_OP_HSL_LUMINOSITY_EXT.

Khronos reference: VK_BLEND_OP_HSL_LUMINOSITY_EXT

Source

pub const PLUS_EXT: Self

Native value VK_BLEND_OP_PLUS_EXT.

Khronos reference: VK_BLEND_OP_PLUS_EXT

Source

pub const PLUS_CLAMPED_EXT: Self

Native value VK_BLEND_OP_PLUS_CLAMPED_EXT.

Khronos reference: VK_BLEND_OP_PLUS_CLAMPED_EXT

Source

pub const PLUS_CLAMPED_ALPHA_EXT: Self

Native value VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT.

Khronos reference: VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT

Source

pub const PLUS_DARKER_EXT: Self

Native value VK_BLEND_OP_PLUS_DARKER_EXT.

Khronos reference: VK_BLEND_OP_PLUS_DARKER_EXT

Source

pub const MINUS_EXT: Self

Native value VK_BLEND_OP_MINUS_EXT.

Khronos reference: VK_BLEND_OP_MINUS_EXT

Source

pub const MINUS_CLAMPED_EXT: Self

Native value VK_BLEND_OP_MINUS_CLAMPED_EXT.

Khronos reference: VK_BLEND_OP_MINUS_CLAMPED_EXT

Source

pub const CONTRAST_EXT: Self

Native value VK_BLEND_OP_CONTRAST_EXT.

Khronos reference: VK_BLEND_OP_CONTRAST_EXT

Source

pub const INVERT_OVG_EXT: Self

Native value VK_BLEND_OP_INVERT_OVG_EXT.

Khronos reference: VK_BLEND_OP_INVERT_OVG_EXT

Source

pub const RED_EXT: Self

Native value VK_BLEND_OP_RED_EXT.

Khronos reference: VK_BLEND_OP_RED_EXT

Source

pub const GREEN_EXT: Self

Native value VK_BLEND_OP_GREEN_EXT.

Khronos reference: VK_BLEND_OP_GREEN_EXT

Source

pub const BLUE_EXT: Self

Native value VK_BLEND_OP_BLUE_EXT.

Khronos reference: VK_BLEND_OP_BLUE_EXT

Source

pub const fn from_raw(value: i32) -> Self

Source

pub const fn as_raw(self) -> i32

Source

pub const fn empty() -> Self

Trait Implementations§

Source§

impl Clone for BlendOp

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for BlendOp

Source§

impl Debug for BlendOp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for BlendOp

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for BlendOp

Source§

impl Hash for BlendOp

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for BlendOp

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for BlendOp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.