struct
MaterialCompileResult
The flat result of compiling a graph — mirrors the Material PBR + flag set and the six authorable texture slots (as UUIDs, resolved later by MaterialAsset::CreateGPU).
- Module
- AssetSystem
- Header
#include "AssetSystem/Assets/MaterialGraph.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
Vec4 | baseColor | Default Vec4(1.0f, 1.0f, 1.0f, 1.0f). |
float | metallic | Default 0.0f. |
float | roughness | Default 0.5f. |
float | ao | Default 1.0f. |
float | opacity | Default 1.0f. |
Vec3 | emissive | Default Vec3(0.0f, 0.0f, 0.0f). |
float | emissiveStrength | Default 0.0f. |
float | clearCoatIntensity | Default 0.0f. |
float | clearCoatRoughness | Default 0.0f. |
float | anisotropy | Default 0.0f. |
float | displacementMagnitude | Default 0.0f. |
float | displacementCenter | Default 0.5f. |
float | subsurface | Default 0.0f. |
float | iridescence | Default 0.0f. |
bool | hair | Default false. |
bool | doubleSided | Default false. |
bool | alphaMasked | Default false. |
bool | worldGrid | Default false. |
FWorldGridParams | worldGridParams | |
uint8_t | shadingModel | Default 0. |
float | transmission | Default 0.0f. |
Vec3 | eyeIrisTint | Eye's record parameters — carried flat like every other channel so CompileToAsset can push them onto the runtime Material, from where the per-frame record producer reads them. Default Vec3(1.0f, 1.0f, 1.0f). |
float | eyeCorneaIoR | Default 1.376f. |
float | eyeCorneaRoughness | Default 0.05f. |
float | eyeIrisDepth | Default 0.004f. |
float | eyeIrisConcavity | Default 0.65f. |
Vec3 | eyeGazeAxis | Default Vec3(0.0f, 0.0f, 1.0f). |
float | eyeIrisConeDegrees | Default 0.0f. |
float | eyeLimbalWidthDegrees | Default 2.0f. |
float | eyeLimbalDarkening | Default 0.0f. |
float | eyeIrisRoughness | Default 0.0f. |
float | eyeCausticStrength | Default 0.0f. |
bool | eyePerDrawAuthored | Carried through so CompileToAsset can tell "the graph authors an inert per-draw half" from "the graph says nothing about it" — only the first may overwrite what the material already holds. Default false. |
UUID | albedoTex | |
UUID | normalTex | |
UUID | metallicTex | |
UUID | roughnessTex | |
UUID | aoTex | |
UUID | emissiveTex |
Generated from AssetSystem/Assets/MaterialGraph.h via assetsystem.json · Nov 4, 2026Version 1.0.0