Upravit

Sdílet prostřednictvím


IMTLArgumentEncoder.SetSamplerStates(IMTLSamplerState[], NSRange) Method

Definition

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

Applies to