Sets a single sampler to be used by the shader stage.
'Declaration
Public Sub SetSampler( _
ByVal As System.Integer, _
ByVal As SamplerState _
)
Parameters
- slot
- Index into the device's zero-based array to which to set the sampler.
- sampler
- sampler state to set