[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.CommonShaderStageBase.SetSampler

SetSampler Method

SetSampler(int, SamplerState)

Sets a single sampler to be used by the shader stage.

Declaration
public void SetSampler(int slot, SamplerState sampler)
Public Sub SetSampler(slot As Integer, sampler As SamplerState)
Parameters
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