Compartir a través de


MTLTextureDescriptor.CreateTextureBufferDescriptor Método

Definición

[Foundation.Export("textureBufferDescriptorWithPixelFormat:width:resourceOptions:usage:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.MTLTextureDescriptor CreateTextureBufferDescriptor (Metal.MTLPixelFormat pixelFormat, nuint width, Metal.MTLResourceOptions resourceOptions, Metal.MTLTextureUsage usage);
static member CreateTextureBufferDescriptor : Metal.MTLPixelFormat * nuint * Metal.MTLResourceOptions * Metal.MTLTextureUsage -> Metal.MTLTextureDescriptor

Parámetros

pixelFormat
MTLPixelFormat
width
System.System.UIntPtr System.unativeint
resourceOptions
MTLResourceOptions

Devoluciones

Atributos

Se aplica a