Modifier

Partager via


MTLTextureDescriptor.CreateTexture2DDescriptor Method

Definition

[Foundation.Export("texture2DDescriptorWithPixelFormat:width:height:mipmapped:")]
public static Metal.MTLTextureDescriptor CreateTexture2DDescriptor (Metal.MTLPixelFormat pixelFormat, nuint width, nuint height, bool mipmapped);
static member CreateTexture2DDescriptor : Metal.MTLPixelFormat * nuint * nuint * bool -> Metal.MTLTextureDescriptor

Parameters

pixelFormat
MTLPixelFormat
width
System.System.UIntPtr System.unativeint
height
System.System.UIntPtr System.unativeint
mipmapped
Boolean

Returns

Attributes

Applies to