Lenguaje

MTLTensorBufferAttachments.SetBuffer Método

Definición

[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

Parámetros

buffer
IMTLBuffer
offset
UIntPtr

unativeint

Atributos

Se aplica a