Upravit

Sdílet prostřednictvím


IMTLArgumentEncoder.SetTextures(IMTLTexture[], NSRange) Method

Definition

Encodes the provided textures into the argument buffer.

[Foundation.Export("setTextures:withRange:")]
[Foundation.Preserve(Conditional=true)]
public void SetTextures (Metal.IMTLTexture[] textures, Foundation.NSRange range);
abstract member SetTextures : Metal.IMTLTexture[] * Foundation.NSRange -> unit

Parameters

textures
IMTLTexture[]

An array of textures from which to select the textures to encode.

range
NSRange

Indices into textures. Either Metal index IDs or the index members of MTLArgumentDescriptors.

Attributes

Applies to