Skip to content

LiteFX::Rendering::Backends::VulkanShaderModule

Implements a Vulkan IShaderModule.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

class [[dllimport, dllexport]] VulkanShaderModule final
    : public IShaderModule
    , public Resource<VkShaderModule>

Base Classes

NameDescription
IShaderModuleRepresents a single shader module, i.e. a part of a IShaderProgram.
Resource<VkShaderModule>Implements the IResource interface.

Type Aliases

Member Functions

NameDescription
VulkanShaderModule [constructor]Initializes a new Vulkan shader module.
~VulkanShaderModule [destructor] [virtual]Destructor
operator= Assignment operators
bytecode Returns the shader byte code.
entryPoint [virtual]Returns the name of the shader module entry point.
fileName [virtual]Returns the file name of the shader module.
handle [virtual]Returns the resource managed by the class.
shaderLocalDescriptor [virtual]For ray-tracing shader modules returns the binding point for the descriptor that receives shader-local data.
shaderStageDefinition Returns the shader stage creation info for convenience.
type [virtual]Returns the type of the shader module.

Protected Member Functions

NameDescription
operator= Assignment operators
handle [virtual]Returns the resource managed by the class.

Friends

NameDescription
LiteFX::Rendering::Backends::VulkanShaderModule::VulkanShaderModuleImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

VulkanShaderProgram

VulkanDevice

https://github.com/crud89/LiteFX/wiki/Shader-Development