LiteFX::Rendering::Backends::DirectX12ShaderProgramBuilder¶
Builds a DirectX 12 ShaderProgram.
Synopsis¶
Declared in <litefx/backends/dx12_builders.hpp>
class [[dllexport, nodiscard]] DirectX12ShaderProgramBuilder final
: public ShaderProgramBuilder<DirectX12ShaderProgram>
Base Classes¶
| Name | Description |
|---|---|
ShaderProgramBuilder<DirectX12ShaderProgram> | Base class for a builder that builds a ShaderProgram. |
Type Aliases¶
Member Functions¶
| Name | Description |
|---|---|
DirectX12ShaderProgramBuilder [constructor] | Initializes a DirectX 12 shader program builder. |
~DirectX12ShaderProgramBuilder [destructor] [virtual] | Destructor |
operator= | Assignment operators |
withAmplificationShaderModule | Adds a task shader module to the program. |
withAnyHitShaderModule | Adds an any hit shader module to the program. |
withCallableShaderModule | Adds a callable shader module to the program. |
withClosestHitShaderModule | Adds a closest hit shader module to the program. |
withComputeShaderModule | Adds a compute shader module to the program. |
withDomainShaderModule | Adds a tessellation control shader module to the program. |
withFragmentShaderModule | Adds a fragment shader module to the program. |
withGeometryShaderModule | Adds a geometry shader module to the program. |
withHullShaderModule | Adds a tessellation evaluation shader module to the program. |
withIntersectionShaderModule | Adds an intersection hit shader module to the program. |
withMeshShaderModule | Adds a mesh shader module to the program. |
withMissShaderModule | Adds a miss shader module to the program. |
withPixelShaderModule | Adds a fragment shader module to the program. |
withRayGenerationShaderModule | Adds a ray generation shader module to the program. |
withShaderModule | Adds a shader module to the program. |
withTaskShaderModule | Adds a task shader module to the program. |
withTessellationControlShaderModule | Adds a tessellation control shader module to the program. |
withTessellationEvaluationShaderModule | Adds a tessellation evaluation shader module to the program. |
withVertexShaderModule | Adds a vertex shader module to the program. |
Using Declarations¶
| Name |
|---|
ShaderProgramBuilder |
Protected Member Functions¶
| Name | Description |
|---|---|
build [virtual] | Can be overwritten to perform any pre-construction work before the builder returns the final object instance. |
makeShaderModule | makeShaderModule overloads |
Return Value¶
Note
The return value should not be discarded.
See Also¶
DirectX12ShaderProgram