ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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 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