MTLDevice_Extensions.GetHeapTextureSizeAndAlign Method

Definition

Gets the size and alignment of a texture with specified description, when allocated from a heap.

[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

Parameters

This
IMTLDevice

The instance on which this method operates.

Returns

Attributes

Applies to