LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::DepthDescriptor Struct Reference

Depth state descriptor structure. More...

#include <PipelineStateFlags.h>

Public Attributes

bool testEnabled = false
 Specifies whether the depth test is enabled or disabled. By default disabled.
bool writeEnabled = false
 Specifies whether writing to the depth buffer is enabled or disabled. By default disabled.
CompareOp compareOp = CompareOp::Less
 Specifies the depth test comparison function. By default CompareOp::Less.

Detailed Description

Depth state descriptor structure.

See also
GraphicsPipelineDescriptor::depth

Member Data Documentation

◆ compareOp

CompareOp LLGL::DepthDescriptor::compareOp = CompareOp::Less

Specifies the depth test comparison function. By default CompareOp::Less.

◆ testEnabled

bool LLGL::DepthDescriptor::testEnabled = false

Specifies whether the depth test is enabled or disabled. By default disabled.

◆ writeEnabled

bool LLGL::DepthDescriptor::writeEnabled = false

Specifies whether writing to the depth buffer is enabled or disabled. By default disabled.


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