benilla-re systems structs docs

s_pixelShadersCVar

global · cvar

Address
0xc7f360 · 4 bytes, up to 0xc7f363
Type
CVar *
Meaning
Holds the record of the pixelShaders setting
Confidence
verified, proof two
Finding
cvar/options#registration

Finding: Registration in cvar: options

0x688470 registers the 31 settings in category 1 with flags 1, script-visible, no callback argument (tables/cvars.tsv lists the help lines); it returns nothing and keeps each record in a global. The order is lod, fullAlpha, doodadAnim, mapShadows, lodDist, SmallCull, DistCull, MaxLights, shadowLevel, texLodBias, trilinear, frillDensity, farclip, nearclip, specular, mapObjOverbright, mapObjLightLOD, pixelShaders, particleDensity, unitDrawDist, waterLOD, baseMip, anisotropic, textureLodDist, horizonfarclip, showfootprints, bspcache, triangleStrips, footstepBias, occlusion and spellEffectLevel. The defaults are the rows of tables/cvars.tsv for the sites 0x68848c to 0x688900. ConsoleDeviceInitialize calls it once, at 0x63a6fb.

The derivation is in the doc.