LiteFX::Rendering::Backends::VulkanShaderModule::VulkanShaderModule¶
Initializes a new Vulkan shader module.
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
[[dllimport, dllexport]] explicit VulkanShaderModule(
VulkanDevice const& device,
ShaderStage type,
std::istream& stream,
String const& name,
String const& entryPoint = "main",
Optional<DescriptorBindingPoint> const& shaderLocalDescriptor = std::nullopt);
Parameters¶
| Name | Description |
|---|---|
| device | The parent device, this shader module has been created from. |
| type | The shader stage, this module is used in. |
| stream | The file stream of the module source. |
| name | The file name of the module source. |
| entryPoint | The name of the module entry point. |
| shaderLocalDescriptor | The descriptor that binds shader-local data for ray-tracing shaders. |