Instance Method

setVertexSamplerStates:withRange:

Sets multiple samplers for the vertex function.

Required.

Declaration

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

Parameters

samplers

The array of sampler states to set in the sampler argument table.

range

A range of indices in the sampler state argument table.

See Also

Specifying Resources for a Vertex Function

- setVertexBuffer:offset:atIndex:

Sets a buffer for the vertex function.

Required.

- setVertexBuffers:offsets:withRange:

Sets an array of buffers for the vertex function.

Required.

- setVertexBufferOffset:atIndex:

Sets where the data begins in a buffer already bound to the vertex shader.

Required.

- setVertexBytes:length:atIndex:

Sets a block of data for the vertex shader.

Required.

- setVertexSamplerState:atIndex:

Sets a sampler for the vertex function.

Required.

- setVertexSamplerState:lodMinClamp:lodMaxClamp:atIndex:

Sets a sampler for the vertex function, specifying clamp values for the level of detail.

Required.

- setVertexSamplerStates:lodMinClamps:lodMaxClamps:withRange:

Sets multiple samplers for the vertex function, specifying clamp values for the level of detail of each sampler.

Required.

- setVertexTexture:atIndex:

Sets a texture for the vertex function.

Required.

- setVertexTextures:withRange:

Sets an array of textures for the vertex function.

Required.