MTLDevice_Extensions.GetHeapTextureSizeAndAlign 方法

定义

获取从堆分配时具有指定说明的纹理的大小和对齐方式。

[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 GetHeapTextureSizeAndAlign (this Metal.IMTLDevice This, Metal.MTLTextureDescriptor desc);
static member GetHeapTextureSizeAndAlign : Metal.IMTLDevice * Metal.MTLTextureDescriptor -> Metal.MTLSizeAndAlign

参数

This
IMTLDevice

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

返回

属性

适用于