Skip to content

LiteFX::Rendering::Backends::VulkanShaderModule::VulkanShaderModule

Initializes a new Vulkan shader module.

Synopses

Declared in <litefx/backends/vulkan.hpp>

Copy constructor

VulkanShaderModule(VulkanShaderModule const& other) = delete;

» more...

Move constructor

[[dllimport, dllexport]] VulkanShaderModule(VulkanShaderModule&& other) noexcept;

» more...

Initializes a new Vulkan shader module.

[[dllimport, dllexport]] explicit VulkanShaderModule(
    VulkanDevice const& device,
    ShaderStage type,
    String const& fileName,
    String const& entryPoint = "main",
    Optional<DescriptorBindingPoint> const& shaderLocalDescriptor = std::nullopt);

» more...

Initializes a new Vulkan shader module.

[[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);

» more...

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.
streamThe file stream of the module source.
nameThe file name of the module source.