LiteFX 0.3.1.2022
Computer Graphics Engine
|
Represents a single shader module, i.e. a part of a IShaderProgram. More...
#include <rendering_api.hpp>
Inherited by LiteFX::Rendering::Backends::DirectX12ShaderModule, and LiteFX::Rendering::Backends::VulkanShaderModule.
Public Member Functions | |
virtual | ~IShaderModule () noexcept=default |
virtual const ShaderStage & | type () const noexcept=0 |
Returns the type of the shader module. More... | |
virtual const String & | fileName () const noexcept=0 |
Returns the file name of the shader module. More... | |
virtual const String & | entryPoint () const noexcept=0 |
Returns the name of the shader module entry point. More... | |
Represents a single shader module, i.e. a part of a IShaderProgram.
A shader module corresponds to a single shader source file.
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Returns the name of the shader module entry point.
Implemented in LiteFX::Rendering::Backends::DirectX12ShaderModule, and LiteFX::Rendering::Backends::VulkanShaderModule.
|
pure virtualnoexcept |
Returns the file name of the shader module.
Implemented in LiteFX::Rendering::Backends::DirectX12ShaderModule, and LiteFX::Rendering::Backends::VulkanShaderModule.
|
pure virtualnoexcept |
Returns the type of the shader module.
Implemented in LiteFX::Rendering::Backends::DirectX12ShaderModule, and LiteFX::Rendering::Backends::VulkanShaderModule.