One Logo Pool Ball
ComputeGraph · IOS API REFERENCE

ComputeNodeGraph.LibraryReference

struct · iOS 27.0+ · SDK 27.1

struct LibraryReference

A Metal library and an optional bundle identifier that locates shader functions. Use ``addLibrary(_:bundle:)`` rather than constructing this type directly.

Members (5)

get · iOS 27.0+

bundle

TypeScript
get bundle(): (string) | null
Swift declaration
var bundle: String?

The bundle identifier used to scope shader function lookup, or `nil` if the library does not require one.

set · iOS 27.0+

bundle

TypeScript
set bundle(value: (string) | null)
Swift declaration
var bundle: String?

The bundle identifier used to scope shader function lookup, or `nil` if the library does not require one.

init · iOS 27.0+

init

TypeScript
static init(library: SDKHandle, bundle?: (string) | null): ComputeNodeGraph_LibraryReference
Swift declaration
init(library: any MTLLibrary, bundle: String? = nil)
get · iOS 27.0+

library

TypeScript
get library(): SDKHandle
Swift declaration
var library: any MTLLibrary

The Metal library containing compiled shader functions.

set · iOS 27.0+

library

TypeScript
set library(value: SDKHandle)
Swift declaration
var library: any MTLLibrary

The Metal library containing compiled shader functions.

Skipped declarations

No declarations were skipped in this snapshot.

All ComputeGraph types →