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¶
| Name | Description |
|---|---|
| device | The parent device of the shader program. |
| modules | The shader modules used by the shader program. |