IMTLArgumentEncoder.SetSamplerStates(IMTLSamplerState[], NSRange) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encodes the provided samplers into the argument buffer.
[Foundation.Export("setSamplerStates:withRange:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetSamplerStates(Metal.IMTLSamplerState[] samplers, Foundation.NSRange range);
[<Foundation.Export("setSamplerStates:withRange:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetSamplerStates : Metal.IMTLSamplerState[] * Foundation.NSRange -> unit
override this.SetSamplerStates : Metal.IMTLSamplerState[] * Foundation.NSRange -> unit
Parameters
- samplers
- IMTLSamplerState[]
An array of samplers from which to select the samplers to encode.
- range
- NSRange
Indices into samplers. Either Metal index IDs or the index members of MTLArgumentDescriptors.
- Attributes