Mount Fuji Engine  0.8b
MF_API void* MFRenderer_AllocateCommandBufferMemory ( size_t  bytes,
size_t  alignment = 16 
)

Allocates memory from the render command buffer.

Parameters
bytesNumber of bytes to allocate.
alignmentAlignment of the allocation.
Returns
A pointer to a block of memory allocated from the command buffer.
See Also
MFRenderer_AllocateScratchMemory(), MFRenderer_GetMemoryStats()
Remarks
Memory allocated in the device command buffer will persist until the GPU has finished rendering.