Open 3D Engine Atom Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Inherits AZ::RHI::Object.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (PipelineLayout, AZ::SystemAllocator) | |
void | Init (id< MTLDevice > metalDevice, const RHI::PipelineLayoutDescriptor &descriptor) |
const bool | IsSRGUsed (size_t index) const |
AZ::HashValue64 | GetHash () const |
size_t | GetSlotByIndex (size_t index) const |
Returns the SRG binding slot associated with the SRG flat index. | |
size_t | GetIndexBySlot (size_t slot) const |
Returns the SRG flat index associated with the SRG binding slot. | |
const RHI::ShaderStageMask & | GetSrgVisibility (uint32_t index) const |
Returns the visibility enum with the SRG binding slot. | |
const ShaderResourceGroupVisibility & | GetSrgResourcesVisibility (uint32_t index) const |
Returns srgVisibility data. | |
const AZ::HashValue64 | GetSrgResourcesVisibilityHash (uint32_t index) const |
Returns srgVisibility hash. | |
uint32_t | GetRootConstantsSize () const |
Returns the root constant specific layout information. | |
uint32_t | GetRootConstantsSlotIndex () const |
![]() | |
AZ_RTTI (Object,"{E43378F1-2331-4173-94B8-990ED20E6003}") | |
void | SetName (const Name &name) |
Sets the name of the object. | |
const Name & | GetName () const |
Returns the name set on the object by SetName. | |
uint32_t | use_count () |
Returns the current use count of the object. | |
Friends | |
class | PipelineLayoutCache |
template<typename T > | |
struct | AZStd::IntrusivePtrCountPolicy |
Additional Inherited Members | |
![]() | |
void | add_ref () const |
void | release () const |
![]() | |
AZStd::atomic_int | m_useCount = 0 |