MTLDevice_Extensions.GetHeapBufferSizeAndAlignWithLength 方法

定义

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.MTLSizeAndAlign GetHeapBufferSizeAndAlignWithLength (this Metal.IMTLDevice This, nuint length, Metal.MTLResourceOptions options);
static member GetHeapBufferSizeAndAlignWithLength : Metal.IMTLDevice * nuint * Metal.MTLResourceOptions -> Metal.MTLSizeAndAlign

参数

This
IMTLDevice

此方法在其上运行的实例。

length
System.System.UIntPtr System.unativeint

返回

属性

适用于