Function TRAP::Graphics::API::UtilToDepthDesc#
Function Documentation#
-
constexpr VkPipelineDepthStencilStateCreateInfo TRAP::Graphics::API::UtilToDepthDesc(const RendererAPI::DepthStateDesc &desc)#
Utility to create the VkPipelineDepthStencilStateCreateInfo struct from a RendererAPI::DepthStateDesc.
- Parameters:
desc – DepthStateDesc.
- Returns:
Created VkPipelineDepthStencilStateCreateInfo.