libnds
Loading...
Searching...
No Matches
Data Fields
glImage Struct Reference

Struct for our GL-Based Images. More...

#include <gl2d.h>

Data Fields

int height
 Height of the Sprite.
 
int textureID
 Texture handle (used in glDeleteTextures())
 
int u_off
 S texture offset.
 
int v_off
 T texture offset.
 
int width
 Width of the Sprite.
 

Detailed Description

Struct for our GL-Based Images.

This is our struct to hold our image attributes. You don't need to worry about this if you use Texture Packer.

Field Documentation

◆ textureID

int glImage::textureID

Texture handle (used in glDeleteTextures())

The texture handle in VRAM (returned by glGenTextures()). ie. This references the actual texture stored in VRAM.


The documentation for this struct was generated from the following file: