CustomMaterial.ResourceStorage
struct · iOS 18.0+ · SDK 27.1
struct ResourceStorage<UniformsType>A container for resources that will be encoded into a CustomMaterial's custom uniforms argument buffer. An object of this type is passed to you in the callback closure passed to ``CustomMaterial/withMutableUniforms(ofType:stage:_:)`` and allows you to set ``TextureResource`` values within your custom uniforms argument buffer.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CustomMaterial.ResourceStorage.subscript(textureResource:)
The iOS SDK compiler rejected this binding: instance method 'receiver()' requires that 'CustomMaterial.ResourceStorage<Any>' conform to 'Copyable'
CustomMaterial.ResourceStorage.subscript(buffer:)
The iOS SDK compiler rejected this binding: instance method 'receiver()' requires that 'CustomMaterial.ResourceStorage<Any>' conform to 'Copyable'