CGxDeviceD3d::ApplyVertexProgram
function · gx · orchestration
- Address
0x5a05d0· 92 bytes, up to0x5a062b- Signature
void __thiscall (CGxDeviceD3d *this, void *program)- Meaning
- Creates the vertex shader of a program object on first use and sets it, or unsets it 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.