語言

MTLTensorBufferAttachments.GetOffset(MTLTensorPlaneType) 方法

定義

[Foundation.Export("offsetForPlane:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIntPtr GetOffset(Metal.MTLTensorPlaneType plane);
[<Foundation.Export("offsetForPlane:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetOffset : Metal.MTLTensorPlaneType -> unativeint
override this.GetOffset : Metal.MTLTensorPlaneType -> unativeint

參數

傳回

UIntPtr

unativeint

屬性

適用於