init
TypeScriptstatic init(): ComputeGraphSharedUniformsSwift declarationinit()Creates an empty `ComputeGraphSharedUniforms` component.
class · iOS 27.0+ · SDK 27.1
class ComputeGraphSharedUniformsA transient component that stores typed uniform values shared across all ComputeGraph simulations. You add scene-wide uniforms via a `ComputeGraphSharedUniforms` — such as gravity, wind, attractor locations, or a global time offset. - Note: Only one instance of this component should exist in a scene at a time.
static init(): ComputeGraphSharedUniformsSwift declarationinit()Creates an empty `ComputeGraphSharedUniforms` component.
4 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
ComputeGraphSharedUniforms.setUniform(_:)
This declaration needs Swift generic type arguments. (no canonical witness for V)
ComputeGraphSharedUniforms.uniform(_:)
Passing a Swift type itself is not supported.
ComputeGraphSharedUniforms.setUniformTransform(_:)
This declaration needs Swift generic type arguments. (no canonical witness for V)
ComputeGraphSharedUniforms.setUniformTransform(type:transform:)
Passing a Swift type itself is not supported.