benilla-re systems structs docs

CGxDeviceOpenGl::DestroyPool

function · gx · orchestration

Address
0x58eb00 · 30 bytes, up to 0x58eb1d
Signature
void __thiscall (CGxDeviceOpenGl *this, CGxPool *pool)
Meaning
Frees a pool's buffer object or memory, then the pool
Confidence
verified, proof one
Finding
gx/slots#buffer-and-texture-slots

Finding: Buffer and texture slots in gx: the device's virtual slots

A pool (CGxPool) is a block of vertex or index memory and a buffer (CGxBuf) a range of one; device.md has the two stream pools. Textures are CGxTexture records (textures.md).

slotnamebaseOpenGlDirect3Ddoes
+0xa0PoolSizeSetpure0x58ea300x59a480gives a pool storage of a new size
+0xa4DestroyPool0x5948400x58eb000x59a4b0frees a pool's storage, its buffers and the pool
+0xa8LockBuffer0x5946900x58eb200x59a690returns writable memory for a buffer and marks it locked
+0xacUnlockBuffer0x5946c00x58ed100x59a720ends the write and adds its bytes to +0xa8
+0xb0WriteBuffer0x5946600x58ee100x59a750copies data into a buffer at an offset
+0xb4CreateTexture0x594a80base0x5a0810makes a texture record (textures.md)
+0xb8CreateTexture2D0x5949800x59f1400x5a07e0makes a two-dimensional texture record from seven arguments
+0xbcDestroyTexture0x594e600x59f8100x5a0850frees the API texture, unlinks and frees the record
+0xc0CopyToTexturepure0x59fb800x5a0de0copies a rectangle of the render target into a texture level

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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