Fragment shader resource preparation commands
Assign resources to fragment shaders, including buffers, textures, acceleration structures, sampler states, and function tables.
Overview
Fragment 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 fragment shaders and other shader types.
Topics
Assigning buffers
setFragmentBuffer(_:offset:index:)setFragmentBuffers(_:offsets:range:)setFragmentBytes(_:length:index:)setFragmentBufferOffset(_:index:)
Assigning textures
Assigning sampler states
setFragmentSamplerState(_:index:)setFragmentSamplerState(_:lodMinClamp:lodMaxClamp:index:)setFragmentSamplerStates(_:range:)setFragmentSamplerStates(_:lodMinClamps:lodMaxClamps:range:)