Renderer

Renderer module API reference: 1 headers · 12 types · 350 symbols.

Generated from renderer.json · Nov 4, 2026Version 1.0.0
Build name
MowoEngine.Renderer
Source
Engine/Source/Runtime/Renderer/Public
Category
Runtime
Contents
1 headers · 12 types · 350 symbols

Renderer/Material.h

KindTypeSummary
enumEShadingModelExplicit surface shading model (G2). Values are the GBuffer wire IDs (RT3.A bits 5..7) — renumbering breaks every already-rendered frame's decode AND the CPU codec tests. 0 must remain DefaultLit: impostors, decal-neutra
structFEyeSurfaceParamsEye's surface parameters. None of them reach the G-Buffer directly — the renderer writes one FSurfaceRecord per drawn Eye material into the frame's surface-parameter buffer and RT3 stores only that record's index, which
structFWorldGridParamsThe world-aligned procedural grid (UE's WorldGridMaterial). It is drawn by the uber GBuffer shader from the pixel's world position and needs no texture and no cooked graph shader, which is why it can be the material ever
enumEMaterialBlendModeHow a TRANSLUCENT surface combines with the scene behind it. Opaque and masked surfaces are expressed by opacity + alphaMasked and never reach here. Values are serialized by index — append only.
enumMaterialOverride
structFMaterialIdentityProcess-unique material identity. Copies mint a FRESH id (a copy is a new material object), assignment keeps the target's own — so an id never names two live materials and, unlike the raw address it replaced as the DS-ca
structFMaterialTransparentDepthNesting depth of Material::FTransparentWriteScope. Copying a material never copies an in-flight scope: the scope belongs to the operation running on the ORIGINAL, and a render proxy that inherited a non-zero count would
structFMaterialStateVersionCount of surface changes on ONE material object, moved by every setter. The render-proxy cache reuses last frame's snapshot while (identity, version) still match, so a copy that carried the source's count would let a mat
structFMaterialStateEverything a material IS, kept apart from the object that carries the reference count. Material derives from RefCounted, whose count must never be copied — but the render proxy still snapshots a surface every frame and C
classMaterialAn instance can inherit from a parent material and override only specific properties.
classMaterial::FTransparentWriteScopeWrites that REPRODUCE a material rather than author it — the .mat loader replaying a saved document, the graph compiler folding its result onto the flat fields, a GPU re-resolve rebinding textures — must not read as user
structFMaterialRenderProxyRender-thread snapshot of a Material (+ its resolved parent chain), the UE5 FMaterialRenderProxy analog. The game thread builds one per frame; the render thread reads only this copy, never the live Material. Ref-counted

Free functions

SignatureDescription
inline MaterialOverride operator|(MaterialOverride a, MaterialOverride b)
inline MaterialOverride operator&(MaterialOverride a, MaterialOverride b)
inline MaterialOverride& operator|=(MaterialOverride& a, MaterialOverride b)
inline MaterialOverride& operator&=(MaterialOverride& a, MaterialOverride b)
inline MaterialOverride operator~(MaterialOverride a)

Page feedback

Was this page helpful?