IMTLArgumentEncoder.SetBuffer(IMTLBuffer, nuint, nuint) 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 buffer
to the argument buffer.
[Foundation.Export("setBuffer:offset:atIndex:")]
[Foundation.Preserve(Conditional=true)]
public void SetBuffer (Metal.IMTLBuffer buffer, nuint offset, nuint index);
abstract member SetBuffer : Metal.IMTLBuffer * nuint * nuint -> unit
Parameters
- buffer
- IMTLBuffer
A buffer in an argument buffer.
- offset
- System.System.UIntPtr System.unativeint
The byte offset of buffer
.
- index
- System.System.UIntPtr System.unativeint
The index of the nested buffer. Either a Metal index ID or the index member of a MTLArgumentDescriptor.
- Attributes