Hymn to Beauty
C++ 3D Engine
BufferAllocator.hpp File Reference
#include <cstdint>
#include <vector>
#include <map>
#include "Buffer.hpp"

Go to the source code of this file.

Classes

class  Video::RawBuffer
 A large buffer from which buffers are sub-allocated. More...
 
struct  Video::BufferAllocation
 An allocation. More...
 
class  Video::BufferAllocator
 Responsible for allocating buffers. More...
 

Namespaces

namespace  Video
 

Macros

#define HYMN_BUFFER_STRATEGY_SUBALLOCATE   0
 
#define HYMN_BUFFER_STRATEGY_WHOLE   1
 
#define HYMN_BUFFER_STRATEGY   HYMN_BUFFER_STRATEGY_SUBALLOCATE
 

Macro Definition Documentation

◆ HYMN_BUFFER_STRATEGY

#define HYMN_BUFFER_STRATEGY   HYMN_BUFFER_STRATEGY_SUBALLOCATE

◆ HYMN_BUFFER_STRATEGY_SUBALLOCATE

#define HYMN_BUFFER_STRATEGY_SUBALLOCATE   0

◆ HYMN_BUFFER_STRATEGY_WHOLE

#define HYMN_BUFFER_STRATEGY_WHOLE   1