Skip to content

LiteFX::Rendering::DepthStencilState::DepthState

Describes the rasterizer depth state.

Synopsis

Declared in <litefx/rendering_api.hpp>

struct DepthState;

Data Members

NameDescription
DepthBoundsTestEnable Enables the depth bounds test.
Enable Specifies, if depth testing should be enabled (default: true).
Operation The compare operation used to pass the depth test (default: CompareOperation::Always).
Write Specifies, if depth should be written (default: true).