xoreos  0.0.5
Public Attributes | List of all members
Aurora::NSBTXFile::Texture Struct Reference
Collaboration diagram for Aurora::NSBTXFile::Texture:
Collaboration graph
[legend]

Public Attributes

Common::UString name
 
uint32 offset
 
Format format
 
uint16 width
 
uint16 height
 
bool wrapX
 true: wrap, false: clamp. More...
 
bool wrapY
 true: wrap, false: clamp. More...
 
bool flipX
 true: flip on every 2nd texture wrap. More...
 
bool flipY
 true: flip on every 2nd texture wrap. More...
 
bool alpha
 true: color index 0 is transparent. More...
 
Transform coordTransform
 

Detailed Description

Definition at line 79 of file nsbtxfile.h.

Member Data Documentation

◆ alpha

bool Aurora::NSBTXFile::Texture::alpha

true: color index 0 is transparent.

Definition at line 92 of file nsbtxfile.h.

Referenced by Aurora::NSBTXFile::getTexture2bpp(), Aurora::NSBTXFile::getTexture4bpp(), and Aurora::NSBTXFile::getTexture8bpp().

◆ coordTransform

Transform Aurora::NSBTXFile::Texture::coordTransform

Definition at line 94 of file nsbtxfile.h.

Referenced by Aurora::NSBTXFile::writeITEXHeader().

◆ flipX

bool Aurora::NSBTXFile::Texture::flipX

true: flip on every 2nd texture wrap.

Definition at line 90 of file nsbtxfile.h.

Referenced by Aurora::NSBTXFile::writeITEXHeader().

◆ flipY

bool Aurora::NSBTXFile::Texture::flipY

true: flip on every 2nd texture wrap.

Definition at line 91 of file nsbtxfile.h.

Referenced by Aurora::NSBTXFile::writeITEXHeader().

◆ format

Format Aurora::NSBTXFile::Texture::format

Definition at line 83 of file nsbtxfile.h.

Referenced by Aurora::NSBTXFile::getPalette(), and Aurora::NSBTXFile::getTexture().

◆ height

uint16 Aurora::NSBTXFile::Texture::height

◆ name

Common::UString Aurora::NSBTXFile::Texture::name

Definition at line 80 of file nsbtxfile.h.

Referenced by Aurora::NSBTXFile::findPalette(), and Aurora::NSBTXFile::getPalette().

◆ offset

uint32 Aurora::NSBTXFile::Texture::offset

Definition at line 81 of file nsbtxfile.h.

Referenced by Aurora::NSBTXFile::getTexture().

◆ width

uint16 Aurora::NSBTXFile::Texture::width

◆ wrapX

bool Aurora::NSBTXFile::Texture::wrapX

true: wrap, false: clamp.

Definition at line 88 of file nsbtxfile.h.

Referenced by Aurora::NSBTXFile::writeITEXHeader().

◆ wrapY

bool Aurora::NSBTXFile::Texture::wrapY

true: wrap, false: clamp.

Definition at line 89 of file nsbtxfile.h.

Referenced by Aurora::NSBTXFile::writeITEXHeader().


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