Upravit

Sdílet prostřednictvím


MTLTextureDescriptor.CreateTextureBufferDescriptor Method

Definition

[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

Parameters

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

Returns

Attributes

Applies to