Nameless Engine
|
#include <DirectXDescriptorHeap.h>
Public Attributes | |
ComPtr< ID3D12DescriptorHeap > | pHeap |
std::unordered_set< ContinuousDirectXDescriptorRange * > | continuousDescriptorRanges |
INT | iHeapCapacity = 0 |
INT | iHeapSize = 0 |
INT | iNextFreeHeapIndex = 0 |
std::queue< INT > | noLongerUsedSingleDescriptorIndices |
std::unordered_set< DirectXDescriptor * > | bindedSingleDescriptors |
Groups mutex guarded data.
std::unordered_set<DirectXDescriptor*> ne::DirectXDescriptorHeap::InternalData::bindedSingleDescriptors |
Set of descriptors that use this heap (size of this set might not be equal to iHeapSize due to continuousDescriptorRanges, because this set stores single descriptors (that don't belong to a continuous range)).
std::unordered_set<ContinuousDirectXDescriptorRange*> ne::DirectXDescriptorHeap::InternalData::continuousDescriptorRanges |
Descriptor ranges that were allocated in this heap.
INT ne::DirectXDescriptorHeap::InternalData::iHeapCapacity = 0 |
Current heap capacity.
INT ne::DirectXDescriptorHeap::InternalData::iHeapSize = 0 |
Current heap size (actually used size).
INT ne::DirectXDescriptorHeap::InternalData::iNextFreeHeapIndex = 0 |
Index of the next free descriptor that can be used. Each created descriptor will fetch this value (to be used) and increment it.
std::queue<INT> ne::DirectXDescriptorHeap::InternalData::noLongerUsedSingleDescriptorIndices |
Indices of descriptors that were created but no longer being used.
ComPtr<ID3D12DescriptorHeap> ne::DirectXDescriptorHeap::InternalData::pHeap |
Descriptor heap.