|
coastline 0.0.4
|
Image metadata shared by texture entries and temporary texture conversions. More...
#include <textureentry.h>

Public Attributes | |
| int | nOption1 |
| unsigned char | nOption2 |
| int | nWidth |
| int | nHeight |
| int | nPixelFormatId |
| int | nOption3 |
| int | nLargestLod |
| int | nLod |
| int | nAspectRatio |
| int | bClampS |
| int | bClampT |
| int | nOption4 |
| int | nOption5 |
| unsigned | dwOption6 |
| int | nOption7 |
| int | nPixelBytes |
| int | nDecodedWidth |
| int | nDecodedHeight |
| unsigned char * | pImage |
| const unsigned char * | pPalette |
| int | bMirrorS |
| int | bMirrorT |
| int | nTileIndex |
| int | nTileLimit |
| TexScanTile | aTiles [TEX_SCAN_TILE_COUNT] |
| unsigned | dwFlags |
| int | bColorCombine |
| int | bOwnsPaintBuffers |
| int | nPaintGroup |
| int | nPaintSet |
| int | nDamageLevel |
| int | bHasTintPixels |
| unsigned char * | apPaintBuffers [4] |
| unsigned | nPaintPixelBytes |
| unsigned char | abEnvColor [4] |
| unsigned char | abPrimColor [4] |
| unsigned | nRowSwapMask |
| int | nDecodedBytes |
| int | nSourceWidth |
| int | nSourceHeight |
Image metadata shared by texture entries and temporary texture conversions.
| int TextureImageData::nOption1 |
The Glide TMU selector; direct images can select the second TMU.
| unsigned char TextureImageData::nOption2 |
The mipmap-level mask, initialised to both odd and even levels.
| int TextureImageData::nWidth |
The texture width used during conversion, in texels.
| int TextureImageData::nHeight |
The texture height used during conversion, in texels.
| int TextureImageData::nPixelFormatId |
The selected backend pixel-format identifier.
| int TextureImageData::nOption3 |
The mipmap mode, disabled for direct images.
| int TextureImageData::nLargestLod |
The final mipmap endpoint used with nLod to size the chain.
| int TextureImageData::nLod |
The level of detail, as CalculateTextureDimensions() reads it.
| int TextureImageData::nAspectRatio |
The aspect ratio, as CalculateTextureDimensions() reads it.
| int TextureImageData::bClampS |
Whether texture binding clamps s.
| int TextureImageData::bClampT |
Whether texture binding clamps t.
| int TextureImageData::nOption4 |
The minification filter, initialised to bilinear filtering.
| int TextureImageData::nOption5 |
The magnification filter, initialised to bilinear filtering.
| unsigned TextureImageData::dwOption6 |
Backend texture options, initialised to 0xc0000000.
| int TextureImageData::nOption7 |
An unreconstructed backend option, initialised to zero.
| int TextureImageData::nPixelBytes |
The byte capacity calculated for the selected pixel format.
| int TextureImageData::nDecodedWidth |
The decoded image width, including required padding, in texels.
| int TextureImageData::nDecodedHeight |
The decoded image height, including required padding, in texels.
| unsigned char* TextureImageData::pImage |
The source image bytes used during conversion.
| const unsigned char* TextureImageData::pPalette |
The source palette, or null for direct-colour images.
| int TextureImageData::bMirrorS |
Whether conversion mirrors the source along its horizontal axis.
| int TextureImageData::bMirrorT |
Whether conversion mirrors the source along its vertical axis.
| int TextureImageData::nTileIndex |
The active tile of aTiles.
| int TextureImageData::nTileLimit |
The exclusive upper bound of tiles contributing mipmap levels.
| TexScanTile TextureImageData::aTiles[TEX_SCAN_TILE_COUNT] |
Captured RDP descriptors for each texture tile.
| unsigned TextureImageData::dwFlags |
Texture-load category flags captured when the image is constructed.
| int TextureImageData::bColorCombine |
Whether texture matching compares the captured colours.
| int TextureImageData::bOwnsPaintBuffers |
Whether paint buffer memory is released with this image.
| int TextureImageData::nPaintGroup |
The paint-image group used to obtain custom car colours and decals.
| int TextureImageData::nPaintSet |
The paint set within nPaintGroup.
| int TextureImageData::nDamageLevel |
The level of damage, from 0 to 3.
| int TextureImageData::bHasTintPixels |
Whether the paint rectangle includes colour-tinted pixels.
| unsigned char* TextureImageData::apPaintBuffers[4] |
Pixel buffers for the four damage levels.
| unsigned TextureImageData::nPaintPixelBytes |
The capacity of each allocated paint buffer, in bytes.
| unsigned char TextureImageData::abEnvColor[4] |
Captured environment colour, in RGBA order.
| unsigned char TextureImageData::abPrimColor[4] |
Captured primitive colour, in RGBA order.
| unsigned TextureImageData::nRowSwapMask |
Row-index bits that select the RDP's four-byte row address swap.
| int TextureImageData::nDecodedBytes |
The decoded pixel byte count before backend upload.
| int TextureImageData::nSourceWidth |
The original image width before padding or scaling, in texels.
| int TextureImageData::nSourceHeight |
The original image height before padding or scaling, in texels.