共用方式為


IMTLComputeCommandEncoder.SetSamplerStates 方法

定義

多載

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
屬性

適用於