GRRLIB_texImg Struct Reference

Structure to hold the texture information. More...

#include <grrlib.h>

Data Fields

uint w
 Texture width.
uint h
 Texture height.
int handlex
 Texture handle x.
int handley
 Texture handle y.
int offsetx
 Texture offset x.
int offsety
 Texture offset y.
bool tiledtex
 Texture is tiled if set to true.
uint tilew
 Width of one tile.
uint tileh
 Height of one tile.
uint nbtilew
 Number of tiles for the x axis.
uint nbtileh
 Number of tiles for the y axis.
uint tilestart
 Offset to tile starting position.
f32 ofnormaltexx
 Offset of normalized texture on x.
f32 ofnormaltexy
 Offset of normalized texture on y.
void * data
 Pointer to the texture data.

Detailed Description

Structure to hold the texture information.


Field Documentation

void* data

Pointer to the texture data.

uint h

Texture height.

int handlex

Texture handle x.

int handley

Texture handle y.

uint nbtileh

Number of tiles for the y axis.

uint nbtilew

Number of tiles for the x axis.

int offsetx

Texture offset x.

int offsety

Texture offset y.

Offset of normalized texture on x.

Offset of normalized texture on y.

bool tiledtex

Texture is tiled if set to true.

uint tileh

Height of one tile.

uint tilestart

Offset to tile starting position.

uint tilew

Width of one tile.

uint w

Texture width.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Tue Nov 24 12:43:58 2009 for GRRLIB by  doxygen 1.6.1