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