init
TypeScriptstatic init(tex: SDKHandle, dict?: (NativeMap<unknown, unknown>) | null): CARendererSwift declarationinit(mtlTexture tex: any MTLTexture, options dict: [AnyHashable : Any]? = nil)class · iOS 2.0+ · SDK 27.1
class CARendererstatic init(tex: SDKHandle, dict?: (NativeMap<unknown, unknown>) | null): CARendererSwift declarationinit(mtlTexture tex: any MTLTexture, options dict: [AnyHashable : Any]? = nil)addUpdate(r: { x: number; y: number; width: number; height: number }): voidSwift declarationfunc addUpdate(_ r: CGRect)beginFrame(t: number, ts?: ("flagOptions" | SDKHandle) | null): voidSwift declarationfunc beginFrame(atTime t: CFTimeInterval, timeStamp ts: UnsafeMutablePointer<CVTimeStamp>?)endFrame(): voidSwift declarationfunc endFrame()nextFrameTime(): numberSwift declarationfunc nextFrameTime() -> CFTimeIntervalrender(): voidSwift declarationfunc render()setDestination(tex: SDKHandle): voidSwift declarationfunc setDestination(_ tex: any MTLTexture)updateBounds(): { x: number; y: number; width: number; height: number }Swift declarationfunc updateBounds() -> CGRectget bounds(): { x: number; y: number; width: number; height: number }Swift declarationvar bounds: CGRect { get set }set bounds(value: { x: number; y: number; width: number; height: number })Swift declarationvar bounds: CGRect { get set }get layer(): (CALayer) | nullSwift declarationvar layer: CALayer? { get set }set layer(value: (CALayer) | null)Swift declarationvar layer: CALayer? { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CARenderer.init()
inherited init: cannot prove legal (class declares 2 custom initializers)