IMTLDevice.GetMinimumLinearTextureAlignment(MTLPixelFormat) 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 minimum alignment required for a linear texture in the given pixel format.
[Foundation.Export("minimumLinearTextureAlignmentForPixelFormat:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIntPtr GetMinimumLinearTextureAlignment(Metal.MTLPixelFormat format);
[<Foundation.Export("minimumLinearTextureAlignmentForPixelFormat:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetMinimumLinearTextureAlignment : Metal.MTLPixelFormat -> unativeint
override this.GetMinimumLinearTextureAlignment : Metal.MTLPixelFormat -> unativeint
Parameters
- format
- MTLPixelFormat
The pixel format. Depth, stencil, and compressed formats are not supported.
Returns
unativeint
- Attributes