Language

MTLTensorBufferAttachments.SetBuffer Method

Definition

[Foundation.Export("setBuffer:offset:forPlane:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetBuffer(Metal.IMTLBuffer buffer, UIntPtr offset, Metal.MTLTensorPlaneType plane);
[<Foundation.Export("setBuffer:offset:forPlane:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetBuffer : Metal.IMTLBuffer * unativeint * Metal.MTLTensorPlaneType -> unit
override this.SetBuffer : Metal.IMTLBuffer * unativeint * Metal.MTLTensorPlaneType -> unit

Parameters

buffer
IMTLBuffer
offset
UIntPtr

unativeint

Attributes

Applies to