Skip to content

LiteFX::Rendering::hasStencil

Returns true, if the format contains a stencil channel.

Synopsis

Declared in <litefx/rendering_api.hpp>

constexpr bool hasStencil(Format format) noexcept;

Return Value

true, if the format contains a stencil channel.

Parameters

NameDescription
formatDescribes a texel format.

See Also

DepthStencilState