Skip to content

@modoki/engine / index / fetchShaderManifest

Function: fetchShaderManifest()

fetchShaderManifest(manifestPath): Promise<ShaderManifest | null>

Fetch + parse a .shader.json manifest. Returns null on network/parse failure. Lives here (no three deps) so both the runtime loader and the editor catalog can read schemas without pulling in the WebGPU material pipeline.

Parameters

manifestPath

string

Returns

Promise<ShaderManifest | null>

Built with Modoki.