GLESBuffer
The GLESBuffer class is an OpenGLES-specific implementation of the Buffer class, providing access to OpenGLES buffer resources. It enables the creation of external buffers by specifying the buffer target and ID, allowing for efficient interaction with OpenGLES buffer management system. This class provides functions to retrieve the buffer target and ID while inheriting the create method from the Buffer class for initializing buffers in OpenGLES-based applications.
#include <platform/TellusimBuffer.h>
Inheritance
- Inherits from Buffer
Constructors
GLESBuffer()
Methods
Create external buffer.
bool create(Flags flags, uint32_t target, uint32_t buffer_id)
uint32_t getTarget() const
uint32_t getBufferID() const