Share via


IMTLComputeCommandEncoder.SetBuffers Method

Definition

Overloads

Name Description
SetBuffers(IntPtr, IntPtr, NSRange)

Encodes buffers to the argument buffer.

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

Applies to