|
CeresEngine 0.2.0
A game development framework
|
Depth bias descriptor structure to control fragment depth values. 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 | |
| float | constantFactor = 0.0f |
| Specifies a scalar factor controlling the constant depth value added to each fragment. | |
| float | slopeFactor = 0.0f |
| Specifies a scalar factor applied to a fragment's slope in depth bias calculations. | |
| float | clamp = 0.0f |
| Specifies the maximum (or minimum) depth bias of a fragment. | |
Depth bias descriptor structure to control fragment depth values.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| float CeresEngine::GPUDepthBiasDescriptor::clamp = 0.0f |
Specifies the maximum (or minimum) depth bias of a fragment.
By default 0.0.
| float CeresEngine::GPUDepthBiasDescriptor::constantFactor = 0.0f |
Specifies a scalar factor controlling the constant depth value added to each fragment.
By default 0.0.
| float CeresEngine::GPUDepthBiasDescriptor::slopeFactor = 0.0f |
Specifies a scalar factor applied to a fragment's slope in depth bias calculations.
By default 0.0.