struct
MaterialGraph::ShaderStats
Offline HLSL codegen. EmitHLSL walks the output node's connected inputs and emits a self-contained material function (FMaterialOutputs EvaluateMaterial(FMaterialInputs)) into the same template the GBuffer material path would #include. The editor compiles the result through DXC when a graph changes and the cook packs the same artifact. EstimateStats returns the instruction/sampler counts the editor shows.
- Module
- AssetSystem
- Header
#include "AssetSystem/Assets/MaterialGraph.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
uint32_t | instructions | Default 0. |
uint32_t | samplers | Default 0. |
uint32_t | nodes | Default 0. |
uint32_t | connections | Default 0. |
Generated from AssetSystem/Assets/MaterialGraph.h via assetsystem.json · Nov 4, 2026Version 1.0.0