IMTLComputeCommandEncoder.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.
Overloads
| Name | Description |
|---|---|
| SetBuffers(IntPtr, IntPtr, NSRange) |
Encodes |
| SetBuffers(IntPtr, IntPtr, IntPtr, NSRange) |
SetBuffers(IntPtr, IntPtr, NSRange)
Encodes buffers to the argument buffer.
[Foundation.Export("setBuffers:offsets:withRange:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetBuffers(IntPtr buffers, IntPtr offsets, Foundation.NSRange range);
[<Foundation.Export("setBuffers:offsets:withRange:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetBuffers : nativeint * nativeint * Foundation.NSRange -> unit
override this.SetBuffers : nativeint * nativeint * Foundation.NSRange -> unit
Parameters
- buffers
-
IntPtr
nativeint
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
SetBuffers(IntPtr, IntPtr, IntPtr, NSRange)
[Foundation.Export("setBuffers:offsets:attributeStrides:withRange:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetBuffers(IntPtr buffers, IntPtr offsets, IntPtr strides, Foundation.NSRange range);
[<Foundation.Export("setBuffers:offsets:attributeStrides:withRange:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetBuffers : nativeint * nativeint * nativeint * Foundation.NSRange -> unit
override this.SetBuffers : nativeint * nativeint * nativeint * Foundation.NSRange -> unit
Parameters
- buffers
-
IntPtr
nativeint
- offsets
-
IntPtr
nativeint
- strides
-
IntPtr
nativeint
- range
- NSRange
- Attributes