Script::GetVideoCaps
function · ui · orchestration
- Address
0x48db40· 249 bytes, up to0x48dc38- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the seven display capability values: nil or 1, a number, or the raw field
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/videoverbs#the-capability-verbs
Finding: The capability verbs in ui: the video option verbs
GetVideoCaps returns seven values from the graphics capability block: anisotropic filtering, pixel shaders, vertex
shaders, trilinear filtering, a number that is 1 on Direct3D and 0 on OpenGL, the maximum anisotropy, and the hardware
cursor. Slots 1, 2, 3, 4 and 7 are nil or the number 1; slot 5 is always a number; slot 6 is nil for 0 and else the value.
Pixel and vertex shaders are nil only when their field is −1.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 3
- GxDeviceCaps gx
- lua_pushnil lua
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.