CustomMaterial.ResourceStorage
A container for resources that will be encoded into a CustomMaterial’s custom uniforms argument buffer.
Declaration
struct ResourceStorage<UniformsType>Overview
An object of this type is passed to you in the callback closure passed to withMutableUniforms(ofType:stage:_:) and allows you to set TextureResource values within your custom uniforms argument buffer.
Topics
Subscripts
See Also
Custom material types
CustomMaterial.CustomCustomMaterial.CustomMaterialTextureCustomMaterial.LightingModelCustomMaterial.BaseColorCustomMaterial.RoughnessCustomMaterial.MetallicCustomMaterial.NormalCustomMaterial.EmissiveColorCustomMaterial.BlendingCustomMaterial.OpacityCustomMaterial.AmbientOcclusionCustomMaterial.SpecularCustomMaterial.ClearcoatCustomMaterial.ClearcoatNormalCustomMaterial.TextureCoordinateTransform