IMTLDevice.GetHeapTextureSizeAndAlign(MTLTextureDescriptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- desc
- MTLTextureDescriptor
Returns
- Attributes