ReXGlue SDK
Loading...
Searching...
No Matches
rex::xenos::FormatInfo Struct Reference

Public Member Functions

u32 GetBytesPerBlock () const

Static Public Member Functions

static const FormatInfo * Get (u32 gpu_format)
static const FormatInfo * Get (xenos::TextureFormat format)

Public Attributes

xenos::TextureFormat format
const char * name
FormatType type
u32 block_width
u32 block_height
u32 bits_per_pixel

Member Function Documentation

◆ Get()

const FormatInfo * rex::xenos::FormatInfo::Get ( u32 gpu_format)
static

Returns the table entry for a TextureFormat value.

Parameters
gpu_formatA TextureFormat value, below 64.

Member Data Documentation

◆ name

const char* rex::xenos::FormatInfo::name

Enumerator name of the format.


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