One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

ShaderGraphMaterial.Program

struct · iOS 27.0+ · SDK 27.1

struct Program

Members (2)

init · iOS 27.0+

init

TypeScript
static init(descriptor: ShaderGraphMaterial_Program_Descriptor): Promise<ShaderGraphMaterial_Program>
Swift declaration
init(descriptor: ShaderGraphMaterial.Program.Descriptor) async throws

Creates a program by compiling the shader node graph in the given descriptor. - Throws: If the graph is invalid or shader compilation fails.

get · iOS 27.0+

descriptor

TypeScript
get descriptor(): ShaderGraphMaterial_Program_Descriptor
Swift declaration
var descriptor: ShaderGraphMaterial.Program.Descriptor { get }

The descriptor used to create this program.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →