V-Gears 0
Free Final Fantasy VII engine.
TexForGen Struct Reference

Texture data. More...

#include <OgreGenUtilites.h>

Public Member Functions

bool operator== (const TexForGen &i) const
 Texture comparator. More...
 

Public Attributes

u16 texture_x
 Texture X coordinate. More...
 
u16 texture_y
 Texture Y coordinate. More...
 
u16 palette_y
 X coordinate of the texture palette. More...
 
u16 palette_x
 X coordinate of the texture palette. More...
 
BPP bpp
 BPP mode of the texture colour. More...
 
int start_x
 
int start_y
 

Detailed Description

Texture data.

Member Function Documentation

◆ operator==()

bool TexForGen::operator== ( const TexForGen i) const
inline

Texture comparator.

It compares texture coordinates, palette coordinates and colour BPP modes.

Parameters
[in]iTexture to compare this one with
Returns
True if the texture coordinates, palette coordinates and colour BPP modes of both textures are equal, false otherwise.

Member Data Documentation

◆ bpp

BPP TexForGen::bpp

BPP mode of the texture colour.

◆ palette_x

u16 TexForGen::palette_x

X coordinate of the texture palette.

◆ palette_y

u16 TexForGen::palette_y

X coordinate of the texture palette.

◆ start_x

int TexForGen::start_x
Todo:
Understand and document.

◆ start_y

int TexForGen::start_y
Todo:
Understand and document.

◆ texture_x

u16 TexForGen::texture_x

Texture X coordinate.

◆ texture_y

u16 TexForGen::texture_y

Texture Y coordinate.


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