Skip to content

LiteFX::Rendering::Backends::DirectX12ShaderProgram

Implements a DirectX 12 ShaderProgram.

Synopsis

Declared in <litefx/backends/dx12.hpp>

class [[dllimport, dllexport]] DirectX12ShaderProgram final
    : public ShaderProgram<DirectX12ShaderModule>

Base Classes

NameDescription
ShaderProgram<DirectX12ShaderModule>Represents a shader program, consisting of multiple IShaderModule "IShaderModules".

Type Aliases

Member Functions

NameDescription
~DirectX12ShaderProgram [destructor] [virtual]Destructor
modules [virtual]Returns the modules, the shader program is build from.
reflectPipelineLayout Uses shader reflection to extract the pipeline layout of a shader. May not be available in all backends.

Static Member Functions

NameDescription
create Creates a new shader program instance.

Protected Member Functions

NameDescription
operator= Assignment operators

Friends

NameDescription
LiteFX::SharedObject::AllocatorAn allocator used to allocate the shared object.
LiteFX::Rendering::Backends::DirectX12ShaderProgramBuilderBuilds a DirectX 12 ShaderProgram.
LiteFX::Rendering::Backends::DirectX12ShaderProgram::DirectX12ShaderProgramImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

DirectX12ShaderProgramBuilder

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