IMTLComputeCommandEncoder.SetSamplerState 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetSamplerState(IMTLSamplerState, nuint) | |
SetSamplerState(IMTLSamplerState, Single, Single, nuint) |
SetSamplerState(IMTLSamplerState, nuint)
[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
- 屬性
適用於
SetSamplerState(IMTLSamplerState, Single, Single, nuint)
[Foundation.Export("setSamplerState:lodMinClamp:lodMaxClamp:atIndex:")]
[Foundation.Preserve(Conditional=true)]
public void SetSamplerState (Metal.IMTLSamplerState sampler, float lodMinClamp, float lodMaxClamp, nuint index);
abstract member SetSamplerState : Metal.IMTLSamplerState * single * single * nuint -> unit
參數
- sampler
- IMTLSamplerState
- lodMinClamp
- Single
- lodMaxClamp
- Single
- index
- System.System.UIntPtr System.unativeint
- 屬性