Function TRAP::Graphics::API::VulkanInits::PipelineInputAssemblyStateCreateInfo#

Function Documentation#

constexpr VkPipelineInputAssemblyStateCreateInfo TRAP::Graphics::API::VulkanInits::PipelineInputAssemblyStateCreateInfo(VkPrimitiveTopology topology, bool primitiveRestart) noexcept#

Create a Vulkan pipeline input assembly state create info.

Parameters:
  • topology – Vulkan primitive topology.

  • primitiveRestart – True to enable primitive restart.

Returns:

VkPipelineInputAssemblyStateCreateInfo.