Cocos2d-x  v4
BufferManager Class Reference

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

Static Public Member Functions

static void addBuffer (BufferMTL *buffer)
 Add a buffer object into container. More...
 
static void removeBuffer (BufferMTL *buffer)
 Remove a buffer object from container. More...
 
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()

static void addBuffer ( BufferMTL buffer)
static

Add a buffer object into container.

Parameters
bufferSpecifies the buffer to be added.

◆ removeBuffer()

static void removeBuffer ( BufferMTL 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: