[]
Sets a single sampler to be used by the shader stage.
public void SetSampler(int slot, SamplerState sampler)
Type | Name | Description |
---|---|---|
int | slot | Index into the device's zero-based array to which to set the sampler. |
SamplerState | sampler | sampler state to set |