Contents

setVertexTextures:withRange:

Assigns multiple textures to a range of entries in the vertex shader argument table.

Declaration

- (void) setVertexTextures:(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 vertex shader argument table for textures.

  • range:

    A span of integers that represent the entries in the vertex 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.

See Also

Assigning textures