IMTLComputeCommandEncoder.SetSamplerStates 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetSamplerStates(IMTLSamplerState[], NSRange) | |
SetSamplerStates(IMTLSamplerState[], IntPtr, IntPtr, NSRange) |
SetSamplerStates(IMTLSamplerState[], NSRange)
[Foundation.Export("setSamplerStates:withRange:")]
[Foundation.Preserve(Conditional=true)]
public void SetSamplerStates (Metal.IMTLSamplerState[] samplers, Foundation.NSRange range);
abstract member SetSamplerStates : Metal.IMTLSamplerState[] * Foundation.NSRange -> unit
參數
- samplers
- IMTLSamplerState[]
- range
- NSRange
- 屬性
適用於
SetSamplerStates(IMTLSamplerState[], IntPtr, IntPtr, NSRange)
[Foundation.Export("setSamplerStates:lodMinClamps:lodMaxClamps:withRange:")]
[Foundation.Preserve(Conditional=true)]
public void SetSamplerStates (Metal.IMTLSamplerState[] samplers, IntPtr floatArrayPtrLodMinClamps, IntPtr floatArrayPtrLodMaxClamps, Foundation.NSRange range);
abstract member SetSamplerStates : Metal.IMTLSamplerState[] * nativeint * nativeint * Foundation.NSRange -> unit
參數
- samplers
- IMTLSamplerState[]
- floatArrayPtrLodMinClamps
-
IntPtr
nativeint
- floatArrayPtrLodMaxClamps
-
IntPtr
nativeint
- range
- NSRange
- 屬性