次の方法で共有


IMTLArgumentEncoder.SetSamplerState(IMTLSamplerState, nuint) メソッド

定義

sampler引数バッファーにエンコードします。

[Foundation.Export("setSamplerState:atIndex:")]
[Foundation.Preserve(Conditional=true)]
public void SetSamplerState (Metal.IMTLSamplerState sampler, nuint index);
abstract member SetSamplerState : Metal.IMTLSamplerState * nuint -> unit

パラメーター

sampler
IMTLSamplerState

引数バッファー内のサンプラー。

index
System.System.UIntPtr System.unativeint

サンプラー インデックス。 Metal インデックス ID または のインデックス メンバー MTLArgumentDescriptor

属性

適用対象