init
TypeScriptstatic init(device: SDKHandle): SKRendererSwift declarationinit(device: any MTLDevice)class · iOS 11.0+ · SDK 27.1
class SKRendererstatic init(device: SDKHandle): SKRendererSwift declarationinit(device: any MTLDevice)renderWithViewportCommandBufferRenderPassDescriptor(viewport: { x: number; y: number; width: number; height: number }, commandBuffer: SDKHandle, renderPassDescriptor: _Metal_MTLRenderPassDescriptor): voidSwift declarationfunc render(withViewport viewport: CGRect, commandBuffer: any MTLCommandBuffer, renderPassDescriptor: MTLRenderPassDescriptor)renderWithViewportRenderCommandEncoderRenderPassDescriptorCommandQueue(viewport: { x: number; y: number; width: number; height: number }, renderCommandEncoder: SDKHandle, renderPassDescriptor: _Metal_MTLRenderPassDescriptor, commandQueue: SDKHandle): voidSwift declarationfunc render(withViewport viewport: CGRect, renderCommandEncoder: any MTLRenderCommandEncoder, renderPassDescriptor: MTLRenderPassDescriptor, commandQueue: any MTLCommandQueue)update(currentTime: number): voidSwift declarationfunc update(atTime currentTime: TimeInterval)get ignoresSiblingOrder(): booleanSwift declarationvar ignoresSiblingOrder: Bool { get set }set ignoresSiblingOrder(value: boolean)Swift declarationvar ignoresSiblingOrder: Bool { get set }get scene(): (SKScene) | nullSwift declarationvar scene: SKScene? { get set }set scene(value: (SKScene) | null)Swift declarationvar scene: SKScene? { get set }get shouldCullNonVisibleNodes(): booleanSwift declarationvar shouldCullNonVisibleNodes: Bool { get set }set shouldCullNonVisibleNodes(value: boolean)Swift declarationvar shouldCullNonVisibleNodes: Bool { get set }get showsDrawCount(): booleanSwift declarationvar showsDrawCount: Bool { get set }set showsDrawCount(value: boolean)Swift declarationvar showsDrawCount: Bool { get set }get showsFields(): booleanSwift declarationvar showsFields: Bool { get set }set showsFields(value: boolean)Swift declarationvar showsFields: Bool { get set }get showsNodeCount(): booleanSwift declarationvar showsNodeCount: Bool { get set }set showsNodeCount(value: boolean)Swift declarationvar showsNodeCount: Bool { get set }get showsPhysics(): booleanSwift declarationvar showsPhysics: Bool { get set }set showsPhysics(value: boolean)Swift declarationvar showsPhysics: Bool { get set }get showsQuadCount(): booleanSwift declarationvar showsQuadCount: Bool { get set }set showsQuadCount(value: boolean)Swift declarationvar showsQuadCount: Bool { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SKRenderer.init()
inherited init: cannot prove legal (class declares 1 custom initializer)