Hymn to Beauty
C++ 3D Engine
Video::BufferAllocation Struct Reference

An allocation. More...

#include <BufferAllocator.hpp>

Public Attributes

RawBufferbuffer
 The buffer the allocation was made in. More...
 
uint32_t offset
 The offset into the buffer. More...
 
uint32_t size
 The size of the allocation. More...
 
bool temporaryAllocation
 Whether the allocation was temporary (buffer is not responsible for freeing memory). More...
 

Detailed Description

An allocation.

Member Data Documentation

◆ buffer

RawBuffer* Video::BufferAllocation::buffer

The buffer the allocation was made in.

◆ offset

uint32_t Video::BufferAllocation::offset

The offset into the buffer.

◆ size

uint32_t Video::BufferAllocation::size

The size of the allocation.

◆ temporaryAllocation

bool Video::BufferAllocation::temporaryAllocation

Whether the allocation was temporary (buffer is not responsible for freeing memory).


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