Lugdunum
0.1.0
|
#include <BufferPool.hpp>
Public Member Functions | |
BufferPool (Renderer &renderer, std::set< uint32_t > queueFamilyIndices) | |
BufferPool (const BufferPool &)=delete | |
BufferPool (BufferPool &&)=delete | |
BufferPool & | operator= (const BufferPool &)=delete |
BufferPool & | operator= (BufferPool &&)=delete |
~BufferPool ()=default | |
std::tuple< bool, const SubBuffer * > | allocate (size_t hash, bool dirty) |
void | free (const SubBuffer *buffer) |
Protected Attributes | |
Renderer & | _renderer |
std::set< uint32_t > | _queueFamilyIndices |
std::list< Chunk< subBufferPerChunk, subBufferSize > > | _chunks |
std::map< size_t, SubBuffer * > | _subBuffersInUse |
Private Member Functions | |
SubBuffer * | allocateNewBuffer () |
Definition at line 20 of file BufferPool.hpp.
|
inline |
Definition at line 2 of file BufferPool.inl.
|
delete |
|
delete |
|
default |
|
delete |
|
delete |
|
inline |
Definition at line 7 of file BufferPool.inl.
|
inline |
Definition at line 27 of file BufferPool.inl.
|
inlineprivate |
Definition at line 41 of file BufferPool.inl.
|
protected |
Definition at line 39 of file BufferPool.hpp.
|
protected |
Definition at line 40 of file BufferPool.hpp.
|
protected |
Definition at line 42 of file BufferPool.hpp.
|
protected |
Definition at line 43 of file BufferPool.hpp.