Function createNodeMaterialBlockLoader
-
createNodeMaterialBlockLoader(
blocks: readonly NodeMaterialBlock[],
): (className: string) => Promise<BlockEmitter>Parameters
- blocks: readonly NodeMaterialBlock[]
Returns (className: string) => Promise<BlockEmitter>
Create a graph-specific loader without retaining the general block registry. Missing or duplicate block selections are errors; this loader never silently falls back to the general registry. Select the full PBR block when the graph uses advanced PBR inputs or specular anti-aliasing.