Share via


IMTLArgumentEncoder.SetArgumentBuffer Method

Definition

Overloads

Name Description
SetArgumentBuffer(IMTLBuffer, UIntPtr)

Sets the target buffer to which arguments will be encoded.

SetArgumentBuffer(IMTLBuffer, UIntPtr, UIntPtr)

Sets the target buffer to which arguments will be encoded.

SetArgumentBuffer(IMTLBuffer, UIntPtr)

Sets the target buffer to which arguments will be encoded.

[Foundation.Export("setArgumentBuffer:offset:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetArgumentBuffer(Metal.IMTLBuffer? argumentBuffer, UIntPtr offset);
[<Foundation.Export("setArgumentBuffer:offset:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetArgumentBuffer : Metal.IMTLBuffer * unativeint -> unit
override this.SetArgumentBuffer : Metal.IMTLBuffer * unativeint -> unit

Parameters

argumentBuffer
IMTLBuffer

The destination buffer.

offset
UIntPtr

unativeint

The offset of the buffer, in bytes.

Attributes

Applies to

SetArgumentBuffer(IMTLBuffer, UIntPtr, UIntPtr)

Sets the target buffer to which arguments will be encoded.

[Foundation.Export("setArgumentBuffer:startOffset:arrayElement:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetArgumentBuffer(Metal.IMTLBuffer? argumentBuffer, UIntPtr startOffset, UIntPtr arrayElement);
[<Foundation.Export("setArgumentBuffer:startOffset:arrayElement:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetArgumentBuffer : Metal.IMTLBuffer * unativeint * unativeint -> unit
override this.SetArgumentBuffer : Metal.IMTLBuffer * unativeint * unativeint -> unit

Parameters

argumentBuffer
IMTLBuffer

The destination buffer.

startOffset
UIntPtr

unativeint

The offset of the buffer, in bytes.

arrayElement
UIntPtr

unativeint

The index, into the targeted buffer, of the argument.

Attributes

Applies to