ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 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

In This Topic
    SetSampler Method
    In This Topic
    Sets a single sampler to be used by the shader stage.
    Syntax
    'Declaration
     
    Public Sub SetSampler( _
       ByVal slot As Integer, _
       ByVal sampler As SamplerState _
    ) 
    public void SetSampler( 
       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