IMTLArgumentEncoder.SetArgumentBuffer Method
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.
SetArgumentBuffer(IMTLBuffer, nuint) |
Sets the target buffer to which arguments will be encoded. |
SetArgumentBuffer(IMTLBuffer, nuint, nuint) |
Sets the target buffer to which arguments will be encoded. |
Sets the target buffer to which arguments will be encoded.
[Foundation.Export("setArgumentBuffer:offset:")]
[Foundation.Preserve(Conditional=true)]
public void SetArgumentBuffer (Metal.IMTLBuffer argumentBuffer, nuint offset);
abstract member SetArgumentBuffer : Metal.IMTLBuffer * nuint -> unit
Parameters
- argumentBuffer
- IMTLBuffer
The destination buffer.
- offset
- System.System.UIntPtr System.unativeint
The offset of the buffer, in bytes.
- Attributes
Applies to
Sets the target buffer to which arguments will be encoded.
[Foundation.Export("setArgumentBuffer:startOffset:arrayElement:")]
[Foundation.Preserve(Conditional=true)]
public void SetArgumentBuffer (Metal.IMTLBuffer argumentBuffer, nuint startOffset, nuint arrayElement);
abstract member SetArgumentBuffer : Metal.IMTLBuffer * nuint * nuint -> unit
Parameters
- argumentBuffer
- IMTLBuffer
The destination buffer.
- startOffset
- System.System.UIntPtr System.unativeint
The offset of the buffer, in bytes.
- arrayElement
- System.System.UIntPtr System.unativeint
The index, into the targeted buffer, of the argument.
- Attributes