|
evan 2026.1.4
Evan
|
Identifies one graphics pipeline variant. More...
#include <headers/evan/Renderer.hpp>
Public Member Functions | |
| bool | operator< (const PipelineVariant &other) const |
| Orders variants so they can be stored in a std::map. | |
Public Attributes | |
| uint32_t | shaderID = 0 |
| BlendMode | blendMode = BlendMode::Opaque |
Identifies one graphics pipeline variant.
A variant is the pair of a shader and a blend mode: the opaque and the alpha-blended pipelines of a shader share their shader modules, layout and vertex input, and differ only in the fixed-function color blend and depth write state.
Definition at line 450 of file Renderer.hpp.
|
inline |
Orders variants so they can be stored in a std::map.
| other | The variant to compare against. |
other. Definition at line 460 of file Renderer.hpp.
| BlendMode evan::Renderer::PipelineVariant::blendMode = BlendMode::Opaque |
Definition at line 452 of file Renderer.hpp.
| uint32_t evan::Renderer::PipelineVariant::shaderID = 0 |
Definition at line 451 of file Renderer.hpp.