|
|
using | index_t = std::remove_const_t< std::make_unsigned_t< decltype(totalCount)> > |
| |
|
|
| D3D12DynamicDescriptorHeap (decltype(owningDevice) device, D3D12_DESCRIPTOR_HEAP_TYPE type, D3D12_DESCRIPTOR_HEAP_FLAGS flags) |
| |
| index_t | AllocateSingle () |
| |
| void | DeallocateSingle (index_t index) |
| |
◆ AllocateSingle()
template<uint32_t totalCount = 2048u>
Allocate a single descriptor
- Returns
- Returns the offset into the descriptor heap. We assume that a descriptor will be written to the index that is returned.
◆ DeallocateSingle()
template<uint32_t totalCount = 2048u>
Mark a descriptor as no longer needed.
- Parameters
-
| index | the descriptor to deallocate |
The documentation for this struct was generated from the following file: