IMTLArgumentEncoder.SetTextures(IMTLTexture[], 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 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