Share via


MPSSvgfDefaultTextureAllocator.CreateTexture Method

Definition

[Foundation.Export("textureWithPixelFormat:width:height:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.IMTLTexture? CreateTexture(Metal.MTLPixelFormat pixelFormat, UIntPtr width, UIntPtr height);
[<Foundation.Export("textureWithPixelFormat:width:height:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateTexture : Metal.MTLPixelFormat * unativeint * unativeint -> Metal.IMTLTexture
override this.CreateTexture : Metal.MTLPixelFormat * unativeint * unativeint -> Metal.IMTLTexture

Parameters

pixelFormat
MTLPixelFormat
width
UIntPtr

unativeint

height
UIntPtr

unativeint

Returns

Attributes

Applies to