MTLTextureDescriptor.CreateTexture2DDescriptor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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