#[repr(C)]pub struct PipelineColorBlendStateCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineColorBlendStateCreateFlags,
pub logic_op_enable: u32,
pub logic_op: LogicOp,
pub attachment_count: u32,
pub p_attachments: *const PipelineColorBlendAttachmentState,
pub blend_constants: [f32; 4],
}Expand description
VkPipelineColorBlendStateCreateInfo
Provided by VK_GRAPHICS_VERSION_1_0.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO.
p_next: *const c_voidOptional, may be null.
flags: PipelineColorBlendStateCreateFlags§logic_op_enable: u32§logic_op: LogicOp§attachment_count: u32Length of p_attachments.
p_attachments: *const PipelineColorBlendAttachmentStateOptional, may be null.
blend_constants: [f32; 4]Implementations§
Source§impl PipelineColorBlendStateCreateInfo
impl PipelineColorBlendStateCreateInfo
Sourcepub fn builder<'a>() -> PipelineColorBlendStateCreateInfoBuilder<'a>
pub fn builder<'a>() -> PipelineColorBlendStateCreateInfoBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PipelineColorBlendStateCreateInfo
impl Clone for PipelineColorBlendStateCreateInfo
Source§fn clone(&self) -> PipelineColorBlendStateCreateInfo
fn clone(&self) -> PipelineColorBlendStateCreateInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PipelineColorBlendStateCreateInfo
Auto Trait Implementations§
impl Freeze for PipelineColorBlendStateCreateInfo
impl RefUnwindSafe for PipelineColorBlendStateCreateInfo
impl !Send for PipelineColorBlendStateCreateInfo
impl !Sync for PipelineColorBlendStateCreateInfo
impl Unpin for PipelineColorBlendStateCreateInfo
impl UnsafeUnpin for PipelineColorBlendStateCreateInfo
impl UnwindSafe for PipelineColorBlendStateCreateInfo
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