benilla-re systems structs docs

CGxDeviceD3d::DestroyCursor

function · gx · host

Address
0x59a9e0 · 62 bytes, up to 0x59aa1d
Signature
void __thiscall (CGxDeviceD3d *this)
Meaning
Destroys the cursor texture and releases the hardware cursor surface and texture
Confidence
verified, proof one
Finding
gx/slots#texture-state-and-cursor-slots

Finding: Texture, state and cursor slots in gx: the device's virtual slots

Slot +0 uploads a texture whose dirty byte +0 is set, and the base counts the upload. Slot +0x18, not slot +0, is the deleting destructor (Life cycle slots).

slotnamebaseOpenGlDirect3Ddoes
+0x00LoadTexture0x594c800x59f5b00x5a0d70uploads a dirty texture; the base adds 1 to +0x8c and the dirty rectangle's bytes to +0x90, then clears the byte
+0x04ApplyRenderStatepure0x59d3500x5a2f00applies one render state (renderstate.md)
+0x08ApplyShaderParamspure0x59ee600x5a0420uploads each changed parameter of a shader's list, or every one when forced
+0x0cCreateCursor0x595640base0x59a960picks the hardware or the software cursor and makes its 32 by 32 texture
+0x10DestroyCursor0x5956d0base0x59a9e0frees the cursor texture
+0x14DrawCursor0x5956f0base0x59a870draws the software cursor, or hands the hardware cursor its image (Cursor)

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.