IMTLArgumentEncoder.SetBuffers(IMTLBuffer[], IntPtr, 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 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