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¶
| Name | Description |
|---|---|
| format | Describes a texel format. |
See Also¶
DepthStencilState