Diligent Engine  v.2.4.g
Public Member Functions | List of all members
Diligent::DescriptorHeapAllocation Class Reference

#include <DescriptorHeap.hpp>

Public Member Functions

 DescriptorHeapAllocation () noexcept
 
 DescriptorHeapAllocation (IDescriptorAllocator &Allocator, ID3D12DescriptorHeap *pHeap, D3D12_CPU_DESCRIPTOR_HANDLE CpuHandle, D3D12_GPU_DESCRIPTOR_HANDLE GpuHandle, Uint32 NHandles, Uint16 AllocationManagerId) noexcept
 
 DescriptorHeapAllocation (DescriptorHeapAllocation &&Allocation) noexcept
 
DescriptorHeapAllocationoperator= (DescriptorHeapAllocation &&Allocation) noexcept
 
void Reset ()
 
 DescriptorHeapAllocation (const DescriptorHeapAllocation &)=delete
 
DescriptorHeapAllocationoperator= (const DescriptorHeapAllocation &)=delete
 
 ~DescriptorHeapAllocation ()
 
D3D12_CPU_DESCRIPTOR_HANDLE GetCpuHandle (Uint32 Offset=0) const
 
D3D12_GPU_DESCRIPTOR_HANDLE GetGpuHandle (Uint32 Offset=0) const
 
template<typename HandleType >
HandleType GetHandle (Uint32 Offset=0) const
 
template<>
D3D12_CPU_DESCRIPTOR_HANDLE GetHandle (Uint32 Offset) const
 
template<>
D3D12_GPU_DESCRIPTOR_HANDLE GetHandle (Uint32 Offset) const
 
ID3D12DescriptorHeap * GetDescriptorHeap () const
 
size_t GetNumHandles () const
 
bool IsNull () const
 
bool IsShaderVisible () const
 
size_t GetAllocationManagerId () const
 
UINT GetDescriptorSize () const
 

Constructor & Destructor Documentation

◆ DescriptorHeapAllocation() [1/4]

Diligent::DescriptorHeapAllocation::DescriptorHeapAllocation ( )
inlinenoexcept

◆ DescriptorHeapAllocation() [2/4]

Diligent::DescriptorHeapAllocation::DescriptorHeapAllocation ( IDescriptorAllocator Allocator,
ID3D12DescriptorHeap *  pHeap,
D3D12_CPU_DESCRIPTOR_HANDLE  CpuHandle,
D3D12_GPU_DESCRIPTOR_HANDLE  GpuHandle,
Uint32  NHandles,
Uint16  AllocationManagerId 
)
inlinenoexcept

◆ DescriptorHeapAllocation() [3/4]

Diligent::DescriptorHeapAllocation::DescriptorHeapAllocation ( DescriptorHeapAllocation &&  Allocation)
inlinenoexcept

◆ DescriptorHeapAllocation() [4/4]

Diligent::DescriptorHeapAllocation::DescriptorHeapAllocation ( const DescriptorHeapAllocation )
delete

◆ ~DescriptorHeapAllocation()

Diligent::DescriptorHeapAllocation::~DescriptorHeapAllocation ( )
inline

Member Function Documentation

◆ GetAllocationManagerId()

size_t Diligent::DescriptorHeapAllocation::GetAllocationManagerId ( ) const
inline

◆ GetCpuHandle()

D3D12_CPU_DESCRIPTOR_HANDLE Diligent::DescriptorHeapAllocation::GetCpuHandle ( Uint32  Offset = 0) const
inline

◆ GetDescriptorHeap()

ID3D12DescriptorHeap* Diligent::DescriptorHeapAllocation::GetDescriptorHeap ( ) const
inline

◆ GetDescriptorSize()

UINT Diligent::DescriptorHeapAllocation::GetDescriptorSize ( ) const
inline

◆ GetGpuHandle()

D3D12_GPU_DESCRIPTOR_HANDLE Diligent::DescriptorHeapAllocation::GetGpuHandle ( Uint32  Offset = 0) const
inline

◆ GetHandle() [1/3]

template<>
D3D12_CPU_DESCRIPTOR_HANDLE Diligent::DescriptorHeapAllocation::GetHandle ( Uint32  Offset) const
inline

◆ GetHandle() [2/3]

template<>
D3D12_GPU_DESCRIPTOR_HANDLE Diligent::DescriptorHeapAllocation::GetHandle ( Uint32  Offset) const
inline

◆ GetHandle() [3/3]

template<typename HandleType >
HandleType Diligent::DescriptorHeapAllocation::GetHandle ( Uint32  Offset = 0) const

◆ GetNumHandles()

size_t Diligent::DescriptorHeapAllocation::GetNumHandles ( ) const
inline

◆ IsNull()

bool Diligent::DescriptorHeapAllocation::IsNull ( ) const
inline

◆ IsShaderVisible()

bool Diligent::DescriptorHeapAllocation::IsShaderVisible ( ) const
inline

◆ operator=() [1/2]

DescriptorHeapAllocation& Diligent::DescriptorHeapAllocation::operator= ( const DescriptorHeapAllocation )
delete

◆ operator=() [2/2]

DescriptorHeapAllocation& Diligent::DescriptorHeapAllocation::operator= ( DescriptorHeapAllocation &&  Allocation)
inlinenoexcept

◆ Reset()

void Diligent::DescriptorHeapAllocation::Reset ( )
inline

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