@aelionsdk/material-compiler
@aelionsdk/material-compiler
Section titled “@aelionsdk/material-compiler”Typed Aelion Material Protocol graph compiler for WebGL2 and WebGPU.
Install
Section titled “Install”npm install @aelionsdk/material-compilerlatest currently resolves to 1.2.0. Material authors should normally use
@aelionsdk/material-sdk; import this package directly to build a custom
compiler, renderer or validation host.
Public surface
Section titled “Public surface”- Core Node registry and typed graph validation;
- graph compilation and resource-budget diagnostics;
- WebGL2 and WebGPU program generation;
- compiler input, output and backend types.
Treat generated Shader/WASM code as untrusted unless the host explicitly authorizes its publisher and execution mode. Compilation success does not bypass runtime resource budgets.
See the Material guide and API reference. Licensed under MIT.
Interfaces
Section titled “Interfaces”- CompiledMaterialGraph
- CompileMaterialOptions
- ExecutableMaterialNode
- MaterialExecutionPass
- MaterialExecutionPlan
- MaterialGraph
- MaterialGraphBudget
- MaterialGraphNode
- MaterialInstanceValue
- MaterialNodeDefinition
- MaterialParameterDefinition
- MaterialPortDefinition
- MaterialResourceSlotDefinition
- MaterialRuntimeSelectionOptions
- MaterialUniformBinding
- RuntimeMaterialDefinition
- WebGl2MaterialPass
- WebGl2MaterialPassInput
- WebGl2MaterialProgram
- WebGpuMaterialProgram