CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::GPUConservativeRasterizationDescriptor Struct Referencefinal

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.
 

Detailed Description

Conservative rasterization descriptor structure to control how the GPU should perform conservative rasterization.

Member Function Documentation

◆ reflect()

template<typename Processor >
static constexpr void CeresEngine::GPUConservativeRasterizationDescriptor::reflect ( Processor &&  RTTI)
inlinestaticconstexpr

Executes the given processor for every field of the struct.

Parameters
RTTIThe processor to be ran for every field.

Member Data Documentation

◆ enabled

bool CeresEngine::GPUConservativeRasterizationDescriptor::enabled = false

If true, conservative rasterization is enabled. By default disabled.

◆ extraPrimitiveOverestimationSize

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.

◆ mode

GPUConservativeRasterizationMode CeresEngine::GPUConservativeRasterizationDescriptor::mode = GPUConservativeRasterizationMode::Overestimate

The conservative rasterization mode to use.


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