|
CeresEngine 0.2.0
A game development framework
|
Depth state descriptor structure. 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 | testEnabled = false |
| Specifies whether the depth test is enabled or disabled. | |
| bool | writeEnabled = false |
| Specifies whether writing to the depth buffer is enabled or disabled. | |
| GPUCompareOp | compareOp = GPUCompareOp::Less |
| Specifies the depth test comparison function. | |
Depth state descriptor structure.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| GPUCompareOp CeresEngine::GPUDepthDescriptor::compareOp = GPUCompareOp::Less |
Specifies the depth test comparison function.
By default CompareOp::Less.
Specifies whether the depth test is enabled or disabled.
By default disabled.
Specifies whether writing to the depth buffer is enabled or disabled.
By default disabled.