MTLArgumentEncoder_Extensions.SetBuffers 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 buffers
to the argument buffer.
public static void SetBuffers (this Metal.IMTLArgumentEncoder This, Metal.IMTLBuffer[] buffers, nint[] offsets, Foundation.NSRange range);
static member SetBuffers : Metal.IMTLArgumentEncoder * Metal.IMTLBuffer[] * nint[] * Foundation.NSRange -> unit
Parameters
- This
- IMTLArgumentEncoder
The instance on which this method operates.
- buffers
- IMTLBuffer[]
An array of buffers in an argument buffer.
- offsets
-
System.System.IntPtr[]
System.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.