Vertex shader resource preparation commands
Assign resources to vertex shaders, including buffers, textures, acceleration structures, sampler states, and function tables.
Overview
Vertex shaders share argument tables for each resource type, such as buffers, textures, and sampler states. Each shader type has its own argument tables, separate from vertex shaders and other shader types.
Topics
Assigning buffers
setVertexBuffer(_:offset:index:)setVertexBuffer(_:offset:attributeStride:index:)setVertexBuffers(_:offsets:range:)setVertexBuffers(_:offsets:attributeStrides:range:)setVertexBytes(_:length:index:)setVertexBytes(_:length:attributeStride:index:)setVertexBufferOffset(_:index:)setVertexBufferOffset(offset:attributeStride:index:)
Assigning textures
Assigning sampler states
setVertexSamplerState(_:index:)setVertexSamplerState(_:lodMinClamp:lodMaxClamp:index:)setVertexSamplerStates(_:range:)setVertexSamplerStates(_:lodMinClamps:lodMaxClamps:range:)