Antkeeper
0.0.1
|
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... | |
Pipeline color blend state.
Definition at line 31 of file pipeline-color-blend-state.hpp.
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.
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.
gl::color_blend_equation gl::pipeline_color_blend_state::color_blend_equation |
Color blend factors and operations.
Definition at line 43 of file pipeline-color-blend-state.hpp.
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.
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.
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.