共用方式為


MTLResource_Extensions.GetAllocatedSize(IMTLResource) 方法

定義

傳回資源的配置大小。

public static nuint GetAllocatedSize (this Metal.IMTLResource This);
static member GetAllocatedSize : Metal.IMTLResource -> nuint

參數

This
IMTLResource

這個方法運作所在的 實例。

傳回

System.System.UIntPtr System.unativeint

適用於