pub struct ColorBlendState {
pub logic_op_enable: bool,
pub logic_op: LogicOp,
pub attachments: Vec<ColorBlendAttachmentState>,
pub blend_constants: [f32; 4],
pub flags: PipelineColorBlendStateCreateFlags,
}Fields§
§logic_op_enable: bool§logic_op: LogicOp§attachments: Vec<ColorBlendAttachmentState>§blend_constants: [f32; 4]§flags: PipelineColorBlendStateCreateFlagsImplementations§
Source§impl ColorBlendState
impl ColorBlendState
pub fn default() -> Self
pub fn with_logic_op_enable(self, enable: bool) -> Self
pub fn with_logic_op(self, op: LogicOp) -> Self
pub fn with_attachment(self, attachment: ColorBlendAttachmentState) -> Self
pub fn with_blend_constants(self, constants: [f32; 4]) -> Self
pub fn with_flags(self, flags: PipelineColorBlendStateCreateFlags) -> Self
Auto Trait Implementations§
impl Freeze for ColorBlendState
impl RefUnwindSafe for ColorBlendState
impl Send for ColorBlendState
impl Sync for ColorBlendState
impl Unpin for ColorBlendState
impl UnsafeUnpin for ColorBlendState
impl UnwindSafe for ColorBlendState
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