ComponentOne Bitmap for UWP
SetSampler Method

C1.UWP.DX Assembly > C1.Util.DX.Direct3D11 Namespace > CommonShaderStageBase Class : SetSampler Method
Index into the device's zero-based array to which to set the sampler.
sampler state to set
Sets a single sampler to be used by the shader stage.
Syntax
'Declaration
 
Public Sub SetSampler( _
   ByVal slot As System.Integer, _
   ByVal sampler As SamplerState _
) 
public void SetSampler( 
   System.int slot,
   SamplerState sampler
)

Parameters

slot
Index into the device's zero-based array to which to set the sampler.
sampler
sampler state to set
See Also

Reference

CommonShaderStageBase Class
CommonShaderStageBase Members