TextureSpec Struct Reference

#include <Texture.h>

# Public Attributes

CharSetSpeccharSetSpec
 Pointer to the char spec that the texture uses.
uint16map
 Pointer to the map array that defines how to use the tiles from the char set.
uint8 cols
 Horizontal size in tiles of the texture.
uint8 rows
 Vertical size in tiles of the texture.
TexturePadding padding
 Padding added to the size for affine/hbias transformations (cols, rows)
uint8 numberOfFrames
 Number of frames that the texture supports.
uint8 palette
 Palette index to use by the graphical data.
bool recyclable
 Flag to recycle the texture with a different map.
bool verticalFlip
bool horizontalFlip

# Detailed Description

A Texture spec

Definition at line 43 of file Texture.h.

# Member Data Documentation

# charSetSpec

CharSetSpec* TextureSpec::charSetSpec

Pointer to the char spec that the texture uses.

Definition at line 46 of file Texture.h.

# cols

uint8 TextureSpec::cols

Horizontal size in tiles of the texture.

Definition at line 52 of file Texture.h.

# horizontalFlip

bool TextureSpec::horizontalFlip

Definition at line 73 of file Texture.h.

# map

uint16* TextureSpec::map

Pointer to the map array that defines how to use the tiles from the char set.

Definition at line 49 of file Texture.h.

# numberOfFrames

uint8 TextureSpec::numberOfFrames

Number of frames that the texture supports.

Definition at line 61 of file Texture.h.

# padding

TexturePadding TextureSpec::padding

Padding added to the size for affine/hbias transformations (cols, rows)

Definition at line 58 of file Texture.h.

# palette

uint8 TextureSpec::palette

Palette index to use by the graphical data.

Definition at line 64 of file Texture.h.

# recyclable

bool TextureSpec::recyclable

Flag to recycle the texture with a different map.

Definition at line 67 of file Texture.h.

# rows

uint8 TextureSpec::rows

Vertical size in tiles of the texture.

Definition at line 55 of file Texture.h.

# verticalFlip

bool TextureSpec::verticalFlip

Definition at line 70 of file Texture.h.


The documentation for this struct was generated from the following file:
  • VUEngine-Core/source/Component/VisualComponent/Sprite/Texture/Texture.h