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¶
| Name | Description |
|---|---|
IShaderModule | Represents a single shader module, i.e. a part of a IShaderProgram. |
Resource<VkShaderModule> | Implements the IResource interface. |
Type Aliases¶
| Name |
|---|
handle_type |
Member Functions¶
| Name | Description |
|---|---|
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¶
| Name | Description |
|---|---|
operator= | Assignment operators |
handle [virtual] | Returns the resource managed by the class. |
Friends¶
| Name | Description |
|---|---|
LiteFX::Rendering::Backends::VulkanShaderModule::VulkanShaderModuleImpl | |
LiteFX::PimplPtr | A smart pointer that manages an implementation instance for a public interface class. |
See Also¶
VulkanShaderProgram
VulkanDevice
https://github.com/crud89/LiteFX/wiki/Shader-Development