Function TRAP::Graphics::API::PrimitiveTopologyToVkPrimitiveTopology#

Function Documentation#

constexpr VkPrimitiveTopology TRAP::Graphics::API::PrimitiveTopologyToVkPrimitiveTopology(RendererAPI::PrimitiveTopology primitiveToplogy) noexcept#

Convert the RendererAPI::PrimitiveTopology to VkPrimitiveTopology.

Parameters:

primitiveTopology – Primitive topology to convert.

Returns:

Converted VkPrimitiveTopology.