init
TypeScriptstatic init(device: SDKHandle): MPSSVGFDefaultTextureAllocatorSwift declarationinit(device: any MTLDevice)class · iOS 13.0+ · SDK 27.1
class MPSSVGFDefaultTextureAllocatorstatic init(device: SDKHandle): MPSSVGFDefaultTextureAllocatorSwift declarationinit(device: any MTLDevice)reset(): voidSwift declarationfunc reset()return(texture: SDKHandle): voidSwift declarationfunc `return`(_ texture: any MTLTexture)texture(pixelFormat: _Metal_MTLPixelFormat, width: number, height: number): (SDKHandle) | nullSwift declarationfunc texture(with pixelFormat: MTLPixelFormat, width: Int, height: Int) -> (any MTLTexture)?get allocatedTextureCount(): numberSwift declarationvar allocatedTextureCount: Int { get }get device(): SDKHandleSwift declarationvar device: any MTLDevice { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSSVGFDefaultTextureAllocator.init()
inherited init: cannot prove legal (class declares 1 custom initializer)