InternSkybox
function · lighting · primitive
- Address
0x6d4640· 421 bytes, up to0x6d47e4- Signature
void * __fastcall (const char *path)- Meaning
- Returns the skybox entry for a path, loading its model on first request
- Confidence
- verified, proof one
- Finding
- lighting/tables#skybox-models
Finding: Skybox models in lighting: tables
A skybox path is interned once: the first request for a path creates an entry in a name-keyed hash table and loads the path as a model in the sky's own model scene, which it creates on first use; later requests return the same entry. An empty or null path returns null.
The derivation is in the doc.
Callers 3
- BuildLightTable lighting
- SetOverrideSkybox lighting
- SetSkyboxSlot lighting
Callees 11
- OsGetAsyncTimeMs core
- SMemFree storm
- SStrCmpI storm
- SStrDupA storm
- SStrHashHT storm
- 0x6d5340 lighting
- 0x6d54b0 lighting
- 0x6d55a0 lighting
- 0x6d5820 lighting
- M2CreateScene models
- CreateModelFromPath models
Calls and jumps by a bare address, from tables/calls.tsv.