SRM v0.13.0-1
Simple Rendering Manager
Loading...
Searching...
No Matches
SRMTexture Struct Reference

Handle to an OpenGL texture obtained with srmBufferGetTexture() More...

#include <SRMBuffer.h>

Data Fields

GLuint id
 Texture identifier.
 
GLenum target
 The OpenGL texture target.
 

Detailed Description

Handle to an OpenGL texture obtained with srmBufferGetTexture()

Field Documentation

◆ id

GLuint SRMTexture::id

Texture identifier.

If set to 0, the texture is considered invalid.

◆ target

GLenum SRMTexture::target

The OpenGL texture target.

Specifies the target type (e.g., GL_TEXTURE_2D, GL_TEXTURE_EXTERNAL_OES).