bundle
TypeScriptget bundle(): (string) | nullSwift declarationvar bundle: String?The bundle identifier used to scope shader function lookup, or `nil` if the library does not require one.
struct · iOS 27.0+ · SDK 27.1
struct LibraryReferenceA Metal library and an optional bundle identifier that locates shader functions. Use ``addLibrary(_:bundle:)`` rather than constructing this type directly.
get bundle(): (string) | nullSwift declarationvar bundle: String?The bundle identifier used to scope shader function lookup, or `nil` if the library does not require one.
set bundle(value: (string) | null)Swift declarationvar bundle: String?The bundle identifier used to scope shader function lookup, or `nil` if the library does not require one.
static init(library: SDKHandle, bundle?: (string) | null): ComputeNodeGraph_LibraryReferenceSwift declarationinit(library: any MTLLibrary, bundle: String? = nil)get library(): SDKHandleSwift declarationvar library: any MTLLibraryThe Metal library containing compiled shader functions.
set library(value: SDKHandle)Swift declarationvar library: any MTLLibraryThe Metal library containing compiled shader functions.
No declarations were skipped in this snapshot.