Contents

setFragmentTextures:withRange:

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

Declaration

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

  • range:

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