[−][src]Struct nobs_vkpipes::pipeline::builder::graphics::blend::Builder
Builder for a blend state
Default initialized with
- blend: disabled
- color write mask:
vk::COLOR_COMPONENT_R_BIT | vk::COLOR_COMPONENT_G_BIT | vk::COLOR_COMPONENT_B_BIT | vk::COLOR_COMPONENT_A_BIT
, - src color blend factor:
vk::BLEND_FACTER_ONE
- dst color blend factor:
vk::BLEND_FACTER_ZERO
- color blend op:
vk::BLEND_OP_ADD
- src alpha blend factor:
vk::BLEND_FACTER_ONE
- dst alpha blend factor:
vk::BLEND_FACTER_ZERO
- alpha blend op:
vk::BLEND_OP_ADD
Fields
attachments: Vec<PipelineColorBlendAttachmentState>
info: PipelineColorBlendStateCreateInfo
Methods
impl Builder
[src]
pub fn raw(info: PipelineColorBlendStateCreateInfo) -> Self
[src]
pub fn push_attachment(self, b: AttachmentBuilder) -> Self
[src]
pub fn logic_op_enable(self, enable: Bool32) -> Self
[src]
pub fn logic_op(self, op: LogicOp) -> Self
[src]
pub fn blend_constants(self, consts: [f32; 4]) -> Self
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,