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

Stencil 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 stencil test is enabled or disabled.
 
GPUStencilFaceDescriptor front
 Specifies the front face settings for the stencil test.
 
GPUStencilFaceDescriptor back
 Specifies the back face settings for the stencil test.
 

Detailed Description

Stencil state descriptor structure.

Member Function Documentation

◆ reflect()

template<typename Processor >
static constexpr void CeresEngine::GPUStencilDescriptor::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

◆ back

GPUStencilFaceDescriptor CeresEngine::GPUStencilDescriptor::back

Specifies the back face settings for the stencil test.

◆ front

GPUStencilFaceDescriptor CeresEngine::GPUStencilDescriptor::front

Specifies the front face settings for the stencil test.

◆ testEnabled

bool CeresEngine::GPUStencilDescriptor::testEnabled = false

Specifies whether the stencil test is enabled or disabled.

Remarks
If no fragment shader is used in the graphics pipeline, the stencil test must be disabled.

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