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.Preserve(Conditional=true)]
public void SetSamplerStates (Metal.IMTLSamplerState[] samplers, Foundation.NSRange range);
abstract member 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