LiteFX 0.4.1.2025
Computer Graphics Engine
Loading...
Searching...
No Matches
LiteFX::Rendering::Backends::DirectX12ShaderProgram::DirectX12ShaderProgramImpl Class Reference

Public Member Functions

 DirectX12ShaderProgramImpl (const DirectX12Device &device, Enumerable< UniquePtr< const DirectX12ShaderModule > > &&modules)
 
 DirectX12ShaderProgramImpl (const DirectX12Device &device)
 
void validate ()
 
void reflectRootSignature (const ComPtr< ID3D12RootSignatureDeserializer > &deserializer, Dictionary< UInt32, DescriptorSetInfo > &descriptorSetLayouts, Array< PushConstantRangeInfo > &pushConstantRanges)
 
template<typename TReflection >
DescriptorInfo getReflectionDescriptorDesc (D3D12_SHADER_INPUT_BIND_DESC inputDesc, TReflection *shaderReflection)
 
SharedPtr< DirectX12PipelineLayoutreflectPipelineLayout ()
 

Friends

class DirectX12ShaderProgramBuilder
 
class DirectX12ShaderProgram
 

Constructor & Destructor Documentation

◆ DirectX12ShaderProgramImpl() [1/2]

LiteFX::Rendering::Backends::DirectX12ShaderProgram::DirectX12ShaderProgramImpl::DirectX12ShaderProgramImpl ( const DirectX12Device & device,
Enumerable< UniquePtr< const DirectX12ShaderModule > > && modules )
inline

◆ DirectX12ShaderProgramImpl() [2/2]

LiteFX::Rendering::Backends::DirectX12ShaderProgram::DirectX12ShaderProgramImpl::DirectX12ShaderProgramImpl ( const DirectX12Device & device)
inline

Member Function Documentation

◆ getReflectionDescriptorDesc()

template<typename TReflection >
DescriptorInfo LiteFX::Rendering::Backends::DirectX12ShaderProgram::DirectX12ShaderProgramImpl::getReflectionDescriptorDesc ( D3D12_SHADER_INPUT_BIND_DESC inputDesc,
TReflection * shaderReflection )
inline

◆ reflectPipelineLayout()

SharedPtr< DirectX12PipelineLayout > LiteFX::Rendering::Backends::DirectX12ShaderProgram::DirectX12ShaderProgramImpl::reflectPipelineLayout ( )
inline

◆ reflectRootSignature()

void LiteFX::Rendering::Backends::DirectX12ShaderProgram::DirectX12ShaderProgramImpl::reflectRootSignature ( const ComPtr< ID3D12RootSignatureDeserializer > & deserializer,
Dictionary< UInt32, DescriptorSetInfo > & descriptorSetLayouts,
Array< PushConstantRangeInfo > & pushConstantRanges )
inline

◆ validate()

void LiteFX::Rendering::Backends::DirectX12ShaderProgram::DirectX12ShaderProgramImpl::validate ( )
inline

Friends And Related Symbol Documentation

◆ DirectX12ShaderProgram

friend class DirectX12ShaderProgram
friend

◆ DirectX12ShaderProgramBuilder

friend class DirectX12ShaderProgramBuilder
friend