Public Attributes

# glImage Struct Reference

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 the texture packer. More...

`#include <gl2d.h>`

List of all members.

## Public Attributes
int | width
int | height
int | u_off
int | v_off
int | textureID

## 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 the texture packer.

Struct for out GL-Based Images.

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

- Related functions:
  1. glSprite()
  2. glSpriteScale()
  3. glSpriteRotate()
  4. glSpriteScaleXY(()
  5. glSpriteRotateScale()
  6. glSpriteRotateScaleXY()
  7. glSpriteOnQuad()

## Member Data Documentation

int glImage::height

Height of the Sprite

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

int glImage::u_off

S texture offset

int glImage::v_off

T texture offset

int glImage::width

Width of the Sprite

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

- C:/programming/devkitPro/myprogs/LibGL2D/distributable/libnds/include/gl2d.h