benilla-re systems structs docs

GxInferAdapterClass

function · gx · orchestration

Address
0x5899b0 · 5 bytes, up to 0x5899b4
Signature
uint32_t __thiscall (void *this)
Meaning
Jumps to 0x58bc90, the adapter class query
Confidence
verified, proof one
Finding
gx/device#adapter-class

Finding: Adapter class in gx: the device

0x58bc90(out) loads Direct3D, calls IDirect3D9::GetDeviceCaps for adapter 0 and stores a class in the word at out: 2 when the device has hardware transform and light (DevCaps & 0x10000), more than 2 simultaneous textures and a pixel shader version of 1.1 or more; 1 when it has hardware transform and light and 2 or more textures; otherwise 0. It returns 1 when the caps call succeeded, and logs CGxDevice::DeviceAdapterInfer(): RET: %d, DID: %x.

The derivation is in the doc.

Callers 1

Callees 1

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