Contents

LowLevelMaterialResource

A compiled material composed of three independently-replaceable shader stages.

Declaration

final class LowLevelMaterialResource

Overview

A LowLevelMaterialResource combines a GeometryModifier (vertex stage), a SurfaceShader (fragment stage), and a LightingFunction (lighting evaluation). Each stage can receive per-draw parameters through its own LowLevelArgumentTable, described by argumentTableDescriptor.

Topics

Describing the material

Configuring the shaders

Reading shader graph output

Instance Properties

See Also

GPU resources