CGxDevice::SetCap
function · gx · orchestration
- Address
0x593620· 133 bytes, up to0x5936a4- Signature
void __thiscall (CGxDevice *this, uint32_t bit, uint32_t on)- Meaning
- Sets bit bit of the capability word to on and queues the state that bit gates
- Confidence
- verified, proof one
- Finding
- gx/renderstate#capability-bits
Finding: Capability bits in gx: render state
The word [dev+0x269c] starts at 0x3ff in 0x5916e0 and changes only through 0x593620(bit, on), which sets bit bit to on & 1 and re-queues one state: bit 0 id 14, 1 id 15, 2 id 16, 3 id 18, 4 id 19, 5 id 20. Each backend applies a gated state as off when its bit is clear: lighting (id 14, bit 0), fog (15, bit 1), depth test (16, bit 2), depth write (18, bit 3), colour mask (19, bit 4) and culling (20, bit 5).
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.