benilla-re systems structs docs

Script::GetCurrentMultisampleFormat

function · ui · primitive

Address
0x48c580 · 185 bytes, up to 0x48c638
Signature
int __fastcall (lua_State *L)
Meaning
Returns the 1-based list index of the gx colour, depth and multisample options, or 1 on a miss
Confidence
verified, proof one
Name from
the community database (idb)
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.

Callers 0

None by a direct call or jump.

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.