Skip to main content

GLESTexture

The GLESTexture class is an OpenGLES-specific implementation of the Texture class, providing access to OpenGLES texture resources. It enables the creation of external textures by specifying the texture target, ID, and additional flags, allowing for efficient interaction with OpenGLES texture management system. This class provides functions to retrieve the texture target, internal format, and ID while inheriting the create method from the Texture class for initializing textures in OpenGLES-based applications.

#include <platform/TellusimTexture.h>

Inheritance

Constructors

GLESTexture()

Methods

Create external texture.

bool create(uint32_t target, uint32_t texture_id, Flags flags = DefaultFlags, Format format = FormatUnknown)
uint32_t getTarget() const
uint32_t getInternalFormat() const
uint32_t getTextureID() const