次の方法で共有


MTLDevice_Extensions.GetMinimumLinearTextureAlignment メソッド

定義

指定されたピクセル形式の線形テクスチャに必要な最小配置を取得します。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static nuint GetMinimumLinearTextureAlignment (this Metal.IMTLDevice This, Metal.MTLPixelFormat format);
static member GetMinimumLinearTextureAlignment : Metal.IMTLDevice * Metal.MTLPixelFormat -> nuint

パラメーター

This
IMTLDevice

このメソッドが動作するインスタンス。

format
MTLPixelFormat

ピクセル形式。 深度、ステンシル、および圧縮形式はサポートされていません。

戻り値

System.System.UIntPtr System.unativeint
属性

適用対象