Cogs.Core
Public Member Functions | List of all members
Cogs::DescriptorPool Struct Reference
Inheritance diagram for Cogs::DescriptorPool:
Cogs::Collections::ConfigurablePagedPool< DescriptorContext, DescriptorPage, PoolDescriptor >

Public Member Functions

void initialize (ResourcePointer< ID3D12Device > device, size_t capacity, D3D12_DESCRIPTOR_HEAP_TYPE heapType)
 
- Public Member Functions inherited from Cogs::Collections::ConfigurablePagedPool< DescriptorContext, DescriptorPage, PoolDescriptor >
 ConfigurablePagedPool ()=default
 Constructs a default, empty pool.
 
 ConfigurablePagedPool (DescriptorContext context, size_t capacity, size_t pageSize)
 Constructs a pool with the given context, capacity and pageSize.
 
void initialize (DescriptorContext context, size_t capacity, size_t pageSize)
 Initialize the pool with the given parameters.
 
PoolDescriptorallocate ()
 Allocates storage for a new item and returns a pointer to the item.
 
void deallocate (PoolDescriptor *item)
 Deallocate the given item.
 
void resize (size_t capacity)
 Resize the pool to the given capacity.
 

Detailed Description

Definition at line 57 of file RenderTargetsD3D12.h.

Member Function Documentation

◆ initialize()

void Cogs::DescriptorPool::initialize ( ResourcePointer< ID3D12Device >  device,
size_t  capacity,
D3D12_DESCRIPTOR_HEAP_TYPE  heapType 
)
inline

Definition at line 59 of file RenderTargetsD3D12.h.


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