CGxDeviceOpenGl::ApplyVertexProgram
function · gx · orchestration
- Address
0x59e480· 175 bytes, up to0x59e52e- Signature
void __thiscall (CGxDeviceOpenGl *this, void *program)- Meaning
- Binds a vertex program, building it on first use, or disables the vertex path for null
- Confidence
- verified, proof one
- Finding
- gx/renderstate#programs
Finding: Programs in gx: render state
Direct3D sets the pixel shader (device slot +0x1ac) for id 0x3f and the vertex shader (+0x170) for id 0x40, creating the shader from the object's code on first use (0x5a0250, 0x5a02e0) and calling 0x5955f0(object, 1) after it. OpenGL binds the program targets 0x8804 (fragment) and 0x8620 (vertex) through 0x59e310 and 0x59e480, after building the program on first use (0x59e530, 0x59e700). A null object unbinds.
The derivation is in the doc.
Callers 1
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.