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

Function compileMaterialInstanced

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

Source from the content-addressed store, hash-verified

339/// no scene-color reads). For the shooter's grass/foliage workload
340/// this is the right default; future work can extend to other buckets.
341export function compileMaterialInstanced(wgslSource: string): number {
342 return bloom_compile_material_instanced(wgslSource as any);
343}
344
345/// EN-001 — upload a flat per-instance buffer to the GPU. `data` is
346/// laid out as 9 floats per instance:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected