setTextures(_:range:)
Encodes references to an array of textures into the argument buffer.
Declaration
func setTextures(_ textures: [(any MTLTexture)?], range: Range<Int>)Parameters
- textures:
An array of textures the method encodes.
- range:
A range of indices within the argument buffer for each element in
textures. The values correspond to either the index IDs of declarations in Metal Shading Language (MSL) or the Index property of Mtlargumentdescriptor instances.