Skip to content

LiteFX::Rendering::hasDepth

Returns true, if the format contains a depth channel.

Synopsis

Declared in <litefx/rendering_api.hpp>

constexpr bool hasDepth(Format format) noexcept;

Return Value

true, if the format contains a depth channel.

Parameters

NameDescription
formatDescribes a texel format.

See Also

DepthStencilState