GRRLIB 4.5.1
Loading...
Searching...
No Matches
Data Fields
GRRLIB_texImg Struct Reference

Structure to hold the texture information. More...

#include <grrlib.h>

Data Fields

u32 w
 The width of the texture in pixels.
 
u32 h
 The height of the texture in pixels.
 
u32 format
 Texture format.
 
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.
 
u32 tilew
 The width of one tile in pixels.
 
u32 tileh
 The height of one tile in pixels.
 
u32 nbtilew
 Number of tiles for the x axis.
 
u32 nbtileh
 Number of tiles for the y axis.
 
u32 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

◆ nbtileh

u32 nbtileh

Number of tiles for the y axis.


◆ nbtilew

u32 nbtilew

Number of tiles for the x axis.


◆ tiledtex

bool tiledtex

Texture is tiled if set to true.


◆ tileh

u32 tileh

The height of one tile in pixels.


◆ tilestart

u32 tilestart

Offset to tile starting position.


◆ tilew

u32 tilew

The width of one tile in pixels.


◆ w

u32 w

The width of the texture in pixels.



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