Ream v0.1.0-1
C++ graphics library for Linux
Loading...
Searching...
No Matches
Public Attributes | List of all members
RGLTexture Struct Reference

A reference to an OpenGL ES texture object. More...

#include <RGLTexture.h>

Public Attributes

GLuint id
 The OpenGL texture name (0 means no texture).
 
GLenum target
 The texture binding target (e.g. GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL_OES).
 

Detailed Description

A reference to an OpenGL ES texture object.

Pairs a texture name with its binding target. The target is typically GL_TEXTURE_2D for regular textures or GL_TEXTURE_EXTERNAL_OES for textures backed by an EGLImage (e.g. imported DMA-buffers).

Member Data Documentation

◆ id

GLuint id

The OpenGL texture name (0 means no texture).

◆ target

GLenum target

The texture binding target (e.g. GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL_OES).