Share via


IMTLDevice.GetHeapTextureSizeAndAlign(MTLTextureDescriptor) Method

Definition

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

[Foundation.Export("heapTextureSizeAndAlignWithDescriptor:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.MTLSizeAndAlign GetHeapTextureSizeAndAlign(Metal.MTLTextureDescriptor desc);
[<Foundation.Export("heapTextureSizeAndAlignWithDescriptor:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetHeapTextureSizeAndAlign : Metal.MTLTextureDescriptor -> Metal.MTLSizeAndAlign
override this.GetHeapTextureSizeAndAlign : Metal.MTLTextureDescriptor -> Metal.MTLSizeAndAlign

Parameters

Returns

Attributes

Applies to