LowLevelMaterialParameterMapping
A mapping of named buffer and texture parameters to binding indices for a compiled shader function.
Declaration
struct LowLevelMaterialParameterMappingOverview
Use bufferLocation(named:), constantLocation(named:), and textureLocation(named:) to look up the binding index for a named parameter, then bind a resource to that slot with setBufferSlice(_:at:) or setTexture(_:at:).
Topics
Accessing parameter mappings
buffersLowLevelMaterialParameterMapping.BufferLowLevelMaterialParameterMapping.BufferParametertexturesLowLevelMaterialParameterMapping.TextureParameterLowLevelMaterialParameterMapping.ConstantParameter