setTextures(_:range:)
Binds multiple textures to the texture argument table, allowing compute functions to access their data on the GPU.
Declaration
func setTextures(_ textures: [(any MTLTexture)?], range: Range<Int>)Parameters
- textures:
A list of Mtltexture instances to bind to the texture argument table.
- range:
The texture table indices to bind each of the
texturesto, in the order they appear.