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

TypeNameDescription
uint32_tinstructionsDefault 0.
uint32_tsamplersDefault 0.
uint32_tnodesDefault 0.
uint32_tconnectionsDefault 0.
Generated from AssetSystem/Assets/MaterialGraph.h via assetsystem.json · Nov 4, 2026Version 1.0.0