Skip to content

LiteFX::Rendering::Backends::VulkanInputAssembler::create

Creates a new Vulkan input assembler state.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] static auto create(
    PrimitiveTopology primitiveTopology,
    UInt32 controlPoints = 1);

Return Value

A shared pointer to the newly created input assembler instance.

Parameters

NameDescription
primitiveTopologyThe primitive topology.
controlPointsThe number of control points in a patch primitive. Ignored if primitiveTopology is not PrimitiveTopology::PatchList. Must be a value between 1 and 32.