Cogs.Core
Public Member Functions | List of all members
Cogs::BufferPoolVK Struct Reference
Inheritance diagram for Cogs::BufferPoolVK:
Cogs::Collections::ConfigurablePagedPool< BufferContextVK, BufferPageVK, PoolBufferVK >

Public Member Functions

void initialize (GraphicsDeviceVK *graphicsDevice, VkDevice device, size_t capacity, uint32_t elementSize, uint32_t pageSize=128)
 
- Public Member Functions inherited from Cogs::Collections::ConfigurablePagedPool< BufferContextVK, BufferPageVK, PoolBufferVK >
 ConfigurablePagedPool ()=default
 Constructs a default, empty pool.
 
 ConfigurablePagedPool (BufferContextVK context, size_t capacity, size_t pageSize)
 Constructs a pool with the given context, capacity and pageSize.
 
void initialize (BufferContextVK context, size_t capacity, size_t pageSize)
 Initialize the pool with the given parameters.
 
PoolBufferVKallocate ()
 Allocates storage for a new item and returns a pointer to the item.
 
void deallocate (PoolBufferVK *item)
 Deallocate the given item.
 
void resize (size_t capacity)
 Resize the pool to the given capacity.
 

Detailed Description

Definition at line 45 of file BuffersVK.h.

Member Function Documentation

◆ initialize()

void Cogs::BufferPoolVK::initialize ( GraphicsDeviceVK graphicsDevice,
VkDevice  device,
size_t  capacity,
uint32_t  elementSize,
uint32_t  pageSize = 128 
)
inline

Definition at line 47 of file BuffersVK.h.


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