One Logo Pool Ball
QuartzCore · IOS API REFERENCE

CARenderer

class · iOS 2.0+ · SDK 27.1

class CARenderer

Members (12)

init · iOS 11.0+

init

TypeScript
static init(tex: SDKHandle, dict?: (NativeMap<unknown, unknown>) | null): CARenderer
Swift declaration
init(mtlTexture tex: any MTLTexture, options dict: [AnyHashable : Any]? = nil)
method · iOS 2.0+

addUpdate

TypeScript
addUpdate(r: { x: number; y: number; width: number; height: number }): void
Swift declaration
func addUpdate(_ r: CGRect)
method · iOS 2.0+

beginFrame

TypeScript
beginFrame(t: number, ts?: ("flagOptions" | SDKHandle) | null): void
Swift declaration
func beginFrame(atTime t: CFTimeInterval, timeStamp ts: UnsafeMutablePointer<CVTimeStamp>?)
method · iOS 2.0+

endFrame

TypeScript
endFrame(): void
Swift declaration
func endFrame()
method · iOS 2.0+

nextFrameTime

TypeScript
nextFrameTime(): number
Swift declaration
func nextFrameTime() -> CFTimeInterval
method · iOS 2.0+

render

TypeScript
render(): void
Swift declaration
func render()
method · iOS 2.0+

setDestination

TypeScript
setDestination(tex: SDKHandle): void
Swift declaration
func setDestination(_ tex: any MTLTexture)
method · iOS 2.0+

updateBounds

TypeScript
updateBounds(): { x: number; y: number; width: number; height: number }
Swift declaration
func updateBounds() -> CGRect
get · iOS 2.0+

bounds

TypeScript
get bounds(): { x: number; y: number; width: number; height: number }
Swift declaration
var bounds: CGRect { get set }
set · iOS 2.0+

bounds

TypeScript
set bounds(value: { x: number; y: number; width: number; height: number })
Swift declaration
var bounds: CGRect { get set }
get · iOS 2.0+

layer

TypeScript
get layer(): (CALayer) | null
Swift declaration
var layer: CALayer? { get set }
set · iOS 2.0+

layer

TypeScript
set layer(value: (CALayer) | null)
Swift declaration
var layer: CALayer? { get set }

Skipped declarations

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)

All QuartzCore types →