benilla-re systems structs docs

s_formatFieldTable

global · ui

Address
0x804530 · 32 bytes, up to 0x80454f
Type
const uint32_t[8]
Meaning
Holds the 8 dwords 16, 24, 24, 30, 16, 24, 24 and 32 that the multisample list maps format fields through
Confidence
verified, proof one
Finding
ui/videoverbs#the-multisample-verbs

Finding: The multisample verbs in ui: the video option verbs

GetMultisampleFormats returns three numbers per entry of a list of colour bits, depth bits and sample counts built once from the device's formats, in the class gxApi names. GetCurrentMultisampleFormat returns the 1-based index of the entry equal to gxColorBits, gxDepthBits and gxMultisample, or 1 on a miss. SetMultisampleFormat(n) chooses an entry by the index rule of SetScreenResolution, writes the three options and runs gxRestart when they differ.

The derivation is in the doc.