MTLTensorBufferAttachments.SetBuffer Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
[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
- plane
- MTLTensorPlaneType
- Atributos