IMTLArgumentEncoder.SetBuffers(IMTLBuffer[], IntPtr, NSRange) Method

Definition

Encodes buffers to the argument buffer.

[Foundation.Export("setBuffers:offsets:withRange:")]
[Foundation.Preserve(Conditional=true)]
public void SetBuffers (Metal.IMTLBuffer[] buffers, IntPtr offsets, Foundation.NSRange range);
abstract member SetBuffers : Metal.IMTLBuffer[] * nativeint * Foundation.NSRange -> unit

Parameters

buffers
IMTLBuffer[]

An array of buffers in an argument buffer.

offsets
IntPtr

nativeint

The byte offsets of buffers in the containing buffer.

range
NSRange

Indices into the target buffer of the buffers in buffers. Either Metal index IDs or the index members of MTLArgumentDescriptors.

Attributes

Applies to