|
CeresEngine 0.2.0
A game development framework
|
Conservative rasterization descriptor structure to control how the GPU should perform conservative rasterization. More...
#include <CeresEngine/RenderAPI/GPUGraphicsPipeline.hpp>
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| bool | enabled = false |
| If true, conservative rasterization is enabled. By default disabled. | |
| GPUConservativeRasterizationMode | mode = GPUConservativeRasterizationMode::Overestimate |
| The conservative rasterization mode to use. | |
| float | extraPrimitiveOverestimationSize = 0.0f |
| The extra size in pixels to increase the generating primitive during conservative rasterization at each of its edges in X and Y equally in screen space beyond the base overestimation. | |
Conservative rasterization descriptor structure to control how the GPU should perform conservative rasterization.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
If true, conservative rasterization is enabled. By default disabled.
| float CeresEngine::GPUConservativeRasterizationDescriptor::extraPrimitiveOverestimationSize = 0.0f |
The extra size in pixels to increase the generating primitive during conservative rasterization at each of its edges in X and Y equally in screen space beyond the base overestimation.
| GPUConservativeRasterizationMode CeresEngine::GPUConservativeRasterizationDescriptor::mode = GPUConservativeRasterizationMode::Overestimate |
The conservative rasterization mode to use.