Contents

MaterialFunction

The abstract superclass for objects representing compute functions for RealityKit custom materials .

Declaration

protocol MaterialFunction

Overview

This class is the parent of, and contains common properties and methods for CustomMaterial.GeometryModifier and CustomMaterial.SurfaceShader. Don’t create an instance of this superclass yourself.

Topics

Instance Properties

See Also

Shaders