MTLTensorBufferAttachments.SetBuffer 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.
[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
- plane
- MTLTensorPlaneType
- Attributes