Skip to content

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,
    String const& fileName,
    String const& entryPoint = "main",
    Optional<DescriptorBindingPoint> const& shaderLocalDescriptor = std::nullopt);

Parameters

NameDescription
deviceThe parent device, this shader module has been created from.
typeThe shader stage, this module is used in.
fileNameThe file name of the module source.
entryPointThe name of the module entry point.
shaderLocalDescriptorThe descriptor that binds shader-local data for ray-tracing shaders.