VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::DynamicBuffers Class Reference

#include <platform/graphics/dynamicBuffers.h>

Detailed Description

The DynamicBuffers class provides a dynamic memory allocation system for uniform buffer data, particularly for non-persistent uniform buffers. This class utilizes a bump allocator to efficiently allocate aligned memory space from a set of large buffers managed internally. To utilize this system, the user writes data to CPU-accessible staging buffers. When submitting command buffers that require these buffers, the system automatically uploads the data to the GPU buffers. This approach ensures efficient memory management and smooth data transfer between the CPU and GPU.

Definition at line 20 of file dynamicBuffers.h.


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