Bitmap for WPF
SetSampler メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct3D11 名前空間 > CommonShaderStageBase クラス : SetSampler メソッド
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.
シンタックス
'宣言
 
Public Sub SetSampler( _
   ByVal slot As System.Integer, _
   ByVal sampler As SamplerState _
) 
public void SetSampler( 
   System.int slot,
   SamplerState sampler
)

パラメータ

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

CommonShaderStageBase クラス
CommonShaderStageBase メンバ