MTLDevice_Extensions.GetMinimumLinearTextureAlignment Método

Definição

Obtém o alinhamento mínimo necessário para uma textura linear no formato de pixel especificado.

[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

Parâmetros

This
IMTLDevice

A instância na qual esse método opera.

format
MTLPixelFormat

O formato de pixel. Não há suporte para formatos de profundidade, estêncil e compactados.

Retornos

System.System.UIntPtr System.unativeint
Atributos

Aplica-se a