⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.

Axmol Engine 3.0.0-dff292a
Loading...
Searching...
No Matches
BufferManager Class Reference

A static class to manage BufferMTL Schedule next available buffer at the beginning of frame for the render pass. More...

#include <BufferManager.h>

Static Public Member Functions

static void addBuffer (BufferImpl *buffer)
 Add a buffer object into container.
static void removeBuffer (BufferImpl *buffer)
 Remove a buffer object from container.
static void beginFrame ()
 Schedule next available buffer at the beginning of frame for the following render passes.

Detailed Description

A static class to manage BufferMTL Schedule next available buffer at the beginning of frame for the render pass.

Member Function Documentation

◆ addBuffer()

void addBuffer ( BufferImpl * buffer)
static

Add a buffer object into container.

Parameters
bufferSpecifies the buffer to be added.

◆ removeBuffer()

void removeBuffer ( BufferImpl * buffer)
static

Remove a buffer object from container.

Parameters
bufferSpecifies the buffer to be removed.

The documentation for this class was generated from the following file:
  • BufferManager.h