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