Skip to content

API Function parseCubemap

github-actions[bot] edited this page Nov 29, 2026 · 3 revisions

Function: parseCubemap()

function parseCubemap(raw, path?): CubemapFaces;

Defined in: src/engine/sky/cubemapFormat.ts:27

Read a cubemap asset; throws with a readable message when a face is missing or the file is another format (a header-less file is read, ADR 0478).

Parameters

raw

unknown

path?

string = "cubemap"

Returns

CubemapFaces

Clone this wiki locally