Antkeeper  0.0.1
Public Attributes | List of all members
gl::pipeline_color_blend_state Struct Reference

Pipeline color blend state. More...

#include <pipeline-color-blend-state.hpp>

Public Attributes

bool logic_op_enabled {false}
 Controls whether to apply logical operations. More...
 
gl::logic_op logic_op {gl::logic_op::bitwise_copy}
 Selects which logical operation to apply. More...
 
bool blend_enabled {false}
 Controls whether blending is enabled for the corresponding color attachment. More...
 
gl::color_blend_equation color_blend_equation
 Color blend factors and operations. More...
 
std::uint8_t color_write_mask {0b1111}
 Bitmask indicating which of the RGBA components are enabled for writing. More...
 
std::array< float, 4 > blend_constants {0.0f, 0.0f, 0.0f, 0.0f}
 RGBA components of the blend constant that are used in blending, depending on the blend factor. More...
 

Detailed Description

Pipeline color blend state.

Definition at line 31 of file pipeline-color-blend-state.hpp.

Member Data Documentation

◆ blend_constants

std::array<float, 4> gl::pipeline_color_blend_state::blend_constants {0.0f, 0.0f, 0.0f, 0.0f}

RGBA components of the blend constant that are used in blending, depending on the blend factor.

Definition at line 57 of file pipeline-color-blend-state.hpp.

◆ blend_enabled

bool gl::pipeline_color_blend_state::blend_enabled {false}

Controls whether blending is enabled for the corresponding color attachment.

Definition at line 40 of file pipeline-color-blend-state.hpp.

◆ color_blend_equation

gl::color_blend_equation gl::pipeline_color_blend_state::color_blend_equation

◆ color_write_mask

std::uint8_t gl::pipeline_color_blend_state::color_write_mask {0b1111}

Bitmask indicating which of the RGBA components are enabled for writing.

Definition at line 54 of file pipeline-color-blend-state.hpp.

◆ logic_op

gl::logic_op gl::pipeline_color_blend_state::logic_op {gl::logic_op::bitwise_copy}

Selects which logical operation to apply.

Definition at line 37 of file pipeline-color-blend-state.hpp.

◆ logic_op_enabled

bool gl::pipeline_color_blend_state::logic_op_enabled {false}

Controls whether to apply logical operations.

Definition at line 34 of file pipeline-color-blend-state.hpp.


The documentation for this struct was generated from the following file: