setMeshTextures:withRange:
Assigns multiple textures to a range of entries in the mesh shader argument table.
Declaration
- (void) setMeshTextures:(id<MTLTexture> const[]) textures withRange:(NSRange) range;Parameters
- textures:
A pointer to a C array of Mtltexture instances the command assigns to entries in the mesh shader argument table for textures.
- range:
A span of integers that represent the entries in the mesh shader argument table for textures. Each entry stores a record of the corresponding element in
textures.
Discussion
By default, the texture at each index is nil.