Skip to content

@modoki/engine / index / getAssetEntry

Function: getAssetEntry()

getAssetEntry(ref): AssetEntry | undefined

Look up the full entry for a guid OR a resolved path. A lower-level lookup utility (baked texture/model settings) — callers pass either a GUID ref or an already-resolved path (e.g. the mesh cache reverse-looking-up LOD info for a model path). This is NOT a reference resolver: stored references are GUID-only and validated by resolveRef; this just indexes both keys.

Parameters

ref

string

Returns

AssetEntry | undefined

Built with Modoki.