#[repr(transparent)]pub struct BlendFactor(pub i32);Expand description
Open integer representation of VkBlendFactor.
Tuple Fields§
§0: i32Implementations§
Source§impl BlendFactor
impl BlendFactor
Sourcepub const ONE_MINUS_SRC_COLOR: Self
pub const ONE_MINUS_SRC_COLOR: Self
Native value VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR.
Sourcepub const ONE_MINUS_DST_COLOR: Self
pub const ONE_MINUS_DST_COLOR: Self
Native value VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR.
Sourcepub const ONE_MINUS_SRC_ALPHA: Self
pub const ONE_MINUS_SRC_ALPHA: Self
Native value VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA.
Sourcepub const ONE_MINUS_DST_ALPHA: Self
pub const ONE_MINUS_DST_ALPHA: Self
Native value VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA.
Sourcepub const CONSTANT_COLOR: Self
pub const CONSTANT_COLOR: Self
Native value VK_BLEND_FACTOR_CONSTANT_COLOR.
Sourcepub const ONE_MINUS_CONSTANT_COLOR: Self
pub const ONE_MINUS_CONSTANT_COLOR: Self
Native value VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR.
Sourcepub const CONSTANT_ALPHA: Self
pub const CONSTANT_ALPHA: Self
Native value VK_BLEND_FACTOR_CONSTANT_ALPHA.
Sourcepub const ONE_MINUS_CONSTANT_ALPHA: Self
pub const ONE_MINUS_CONSTANT_ALPHA: Self
Native value VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA.
Sourcepub const SRC_ALPHA_SATURATE: Self
pub const SRC_ALPHA_SATURATE: Self
Native value VK_BLEND_FACTOR_SRC_ALPHA_SATURATE.
Sourcepub const SRC1_COLOR: Self
pub const SRC1_COLOR: Self
Native value VK_BLEND_FACTOR_SRC1_COLOR.
Sourcepub const ONE_MINUS_SRC1_COLOR: Self
pub const ONE_MINUS_SRC1_COLOR: Self
Native value VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR.
Sourcepub const SRC1_ALPHA: Self
pub const SRC1_ALPHA: Self
Native value VK_BLEND_FACTOR_SRC1_ALPHA.
Sourcepub const ONE_MINUS_SRC1_ALPHA: Self
pub const ONE_MINUS_SRC1_ALPHA: Self
Native value VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA.
pub const fn from_raw(value: i32) -> Self
pub const fn as_raw(self) -> i32
pub const fn empty() -> Self
Trait Implementations§
Source§impl Clone for BlendFactor
impl Clone for BlendFactor
impl Copy for BlendFactor
Source§impl Debug for BlendFactor
impl Debug for BlendFactor
Source§impl Default for BlendFactor
impl Default for BlendFactor
impl Eq for BlendFactor
Source§impl Hash for BlendFactor
impl Hash for BlendFactor
Source§impl PartialEq for BlendFactor
impl PartialEq for BlendFactor
impl StructuralPartialEq for BlendFactor
Auto Trait Implementations§
impl Forget for BlendFactor
impl Freeze for BlendFactor
impl Move for BlendFactor
impl RefUnwindSafe for BlendFactor
impl Send for BlendFactor
impl Sync for BlendFactor
impl Unpin for BlendFactor
impl UnsafeUnpin for BlendFactor
impl UnwindSafe for BlendFactor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more