Share via


IMTLArgumentEncoder.SetTextures(IMTLTexture[], NSRange) Method

Definition

Encodes the provided textures into the argument buffer.

[Foundation.Export("setTextures:withRange:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetTextures(Metal.IMTLTexture[] textures, Foundation.NSRange range);
[<Foundation.Export("setTextures:withRange:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetTextures : Metal.IMTLTexture[] * Foundation.NSRange -> unit
override this.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