MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / loadShader

Function loadShader

src/models/index.ts:264–266  ·  view source on GitHub ↗
(wgslSource: string)

Source from the content-addressed store, hash-verified

262}
263
264export function loadShader(wgslSource: string): number {
265 return bloom_load_shader(wgslSource as any);
266}
267
268/// Phase 1c — compile a material against the shader ABI in
269/// `native/shared/shaders/material_abi.wgsl`. Source may `#include`

Callers

nothing calls this directly

Calls 1

bloom_load_shaderFunction · 0.50

Tested by

no test coverage detected