LiteFX::Rendering::IShaderModule¶
Represents a single shader module, i.e. a part of a IShaderProgram.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
class [[dllimport, dllexport]] IShaderModule;
Description¶
A shader module corresponds to a single shader source file.
Member Functions¶
| Name | Description |
|---|---|
~IShaderModule [destructor] [virtual] | Destructor |
entryPoint [virtual] | Returns the name of the shader module entry point. |
fileName [virtual] | Returns the file name of the shader module. |
shaderLocalDescriptor [virtual] | For ray-tracing shader modules returns the binding point for the descriptor that receives shader-local data. |
type [virtual] | Returns the type of the shader module. |
Protected Member Functions¶
| Name | Description |
|---|---|
IShaderModule [constructor] | Constructors |
operator= | Assignment operators |
Derived Classes¶
| Name | Description |
|---|---|
DirectX12ShaderModule | Implements a DirectX 12 IShaderModule. |
VulkanShaderModule | Implements a Vulkan IShaderModule. |
See Also¶
https://github.com/crud89/LiteFX/wiki/Shader-Development