Contents

setVertexSamplerStates:withRange:

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

Declaration

- (void) setVertexSamplerStates:(id<MTLSamplerState> const[]) samplers withRange:(NSRange) range;

Parameters

  • samplers:

    A pointer to a C array of Mtlsamplerstate instances the command assigns to entries in the vertex shader argument table for sampler states.

  • range:

    A span of integers that represent the entries in the vertex shader argument table for sampler states. Each entry stores a record of the corresponding element in samplers.

Discussion

By default, the sampler state at each index is nil.

See Also

Assigning sampler states