Skip to content

LiteFX::Rendering::Backends::VulkanShaderProgram::create

Creates a new Vulkan shader program.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] static auto create(
    VulkanDevice const& device,
    Enumerable<UniquePtr<VulkanShaderModule>>&& modules);

Return Value

A shared pointer to the newly created shader program instance.

Parameters

NameDescription
deviceThe parent device of the shader program.
modulesThe shader modules used by the shader program.