Open 3D Engine Atom Gem API Reference 26.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Metal::PipelineLayoutDescriptor Class Referencefinal

Inherits AZ::RHI::PipelineLayoutDescriptor.

Public Member Functions

 AZ_RTTI (PipelineLayoutDescriptor, "{BC89E796-AB67-40EA-BE56-9F4B5975E0C8}", Base)
 
 AZ_CLASS_ALLOCATOR (PipelineLayoutDescriptor, AZ::SystemAllocator)
 
void SetBindingTables (const SlotToIndexTable &slotToIndexTable, const IndexToSlotTable &indexToSlotTable)
 
const SlotToIndexTable & GetSlotToIndexTable () const
 
const IndexToSlotTable & GetIndexToSlotTable () const
 
void AddShaderResourceGroupVisibility (const ShaderResourceGroupVisibility &visibilityInfo)
 
const ShaderResourceGroupVisibility & GetShaderResourceGroupVisibility (uint32_t index) const
 
void SetRootConstantBinding (const RootConstantBinding &rootConstantBinding)
 
const RootConstantBinding & GetRootConstantBinding () const
 
- Public Member Functions inherited from AZ::RHI::PipelineLayoutDescriptor
 AZ_RTTI (PipelineLayoutDescriptor, "{F2901A0F-9700-49E9-A266-55DCF1E39CF9}")
 
 AZ_CLASS_ALLOCATOR (PipelineLayoutDescriptor, AZ::SystemAllocator)
 
bool IsFinalized () const
 
void Reset ()
 Resets the descriptor back to an empty state.
 
void AddShaderResourceGroupLayoutInfo (const ShaderResourceGroupLayout &layout, const ShaderResourceGroupBindingInfo &shaderResourceGroupInfo)
 Adds the layout info of shader resource group, ordered by frequency of update.
 
void SetRootConstantsLayout (const ConstantsLayout &rootConstantsLayout)
 Sets the layout of inline constants.
 
RHI::ResultCode Finalize ()
 
size_t GetShaderResourceGroupLayoutCount () const
 Returns the number of shader resource group layouts added to this pipeline layout.
 
const ShaderResourceGroupLayout * GetShaderResourceGroupLayout (size_t index) const
 Returns the shader resource group layout pointer at the requested index.
 
const ShaderResourceGroupBindingInfo & GetShaderResourceGroupBindingInfo (size_t index) const
 Returns the shader resource group binding info at the requested index.
 
const ConstantsLayout * GetRootConstantsLayout () const
 Returns the inline constants layout.
 
HashValue64 GetHash () const
 Returns the hash computed for the pipeline layout.
 
uint32_t GetShaderResourceGroupIndexFromBindingSlot (uint32_t bindingSlot) const
 Converts from an SRG binding slot to a shader resource group index.
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static RHI::Ptr< PipelineLayoutDescriptor > Create ()
 
- Static Public Member Functions inherited from AZ::RHI::PipelineLayoutDescriptor
static void Reflect (AZ::ReflectContext *context)
 
static RHI::Ptr< PipelineLayoutDescriptor > Create ()
 

Friends

template<typename , typename >
struct AnyTypeInfoConcept
 
template<typename , bool , bool >
struct Serialize::InstanceFactory
 

The documentation for this class was generated from the following file: