One Logo Pool Ball
SpriteKit · IOS API REFERENCE

SKRenderer

class · iOS 11.0+ · SDK 27.1

class SKRenderer

Members (20)

init · iOS 11.0+

init

TypeScript
static init(device: SDKHandle): SKRenderer
Swift declaration
init(device: any MTLDevice)
method · iOS 11.0+

render

TypeScript
renderWithViewportCommandBufferRenderPassDescriptor(viewport: { x: number; y: number; width: number; height: number }, commandBuffer: SDKHandle, renderPassDescriptor: _Metal_MTLRenderPassDescriptor): void
Swift declaration
func render(withViewport viewport: CGRect, commandBuffer: any MTLCommandBuffer, renderPassDescriptor: MTLRenderPassDescriptor)
method · iOS 11.0+

render

TypeScript
renderWithViewportRenderCommandEncoderRenderPassDescriptorCommandQueue(viewport: { x: number; y: number; width: number; height: number }, renderCommandEncoder: SDKHandle, renderPassDescriptor: _Metal_MTLRenderPassDescriptor, commandQueue: SDKHandle): void
Swift declaration
func render(withViewport viewport: CGRect, renderCommandEncoder: any MTLRenderCommandEncoder, renderPassDescriptor: MTLRenderPassDescriptor, commandQueue: any MTLCommandQueue)
method · iOS 11.0+

update

TypeScript
update(currentTime: number): void
Swift declaration
func update(atTime currentTime: TimeInterval)
get · iOS 11.0+

ignoresSiblingOrder

TypeScript
get ignoresSiblingOrder(): boolean
Swift declaration
var ignoresSiblingOrder: Bool { get set }
set · iOS 11.0+

ignoresSiblingOrder

TypeScript
set ignoresSiblingOrder(value: boolean)
Swift declaration
var ignoresSiblingOrder: Bool { get set }
get · iOS 11.0+

scene

TypeScript
get scene(): (SKScene) | null
Swift declaration
var scene: SKScene? { get set }
set · iOS 11.0+

scene

TypeScript
set scene(value: (SKScene) | null)
Swift declaration
var scene: SKScene? { get set }
get · iOS 11.0+

shouldCullNonVisibleNodes

TypeScript
get shouldCullNonVisibleNodes(): boolean
Swift declaration
var shouldCullNonVisibleNodes: Bool { get set }
set · iOS 11.0+

shouldCullNonVisibleNodes

TypeScript
set shouldCullNonVisibleNodes(value: boolean)
Swift declaration
var shouldCullNonVisibleNodes: Bool { get set }
get · iOS 11.0+

showsDrawCount

TypeScript
get showsDrawCount(): boolean
Swift declaration
var showsDrawCount: Bool { get set }
set · iOS 11.0+

showsDrawCount

TypeScript
set showsDrawCount(value: boolean)
Swift declaration
var showsDrawCount: Bool { get set }
get · iOS 11.0+

showsFields

TypeScript
get showsFields(): boolean
Swift declaration
var showsFields: Bool { get set }
set · iOS 11.0+

showsFields

TypeScript
set showsFields(value: boolean)
Swift declaration
var showsFields: Bool { get set }
get · iOS 11.0+

showsNodeCount

TypeScript
get showsNodeCount(): boolean
Swift declaration
var showsNodeCount: Bool { get set }
set · iOS 11.0+

showsNodeCount

TypeScript
set showsNodeCount(value: boolean)
Swift declaration
var showsNodeCount: Bool { get set }
get · iOS 11.0+

showsPhysics

TypeScript
get showsPhysics(): boolean
Swift declaration
var showsPhysics: Bool { get set }
set · iOS 11.0+

showsPhysics

TypeScript
set showsPhysics(value: boolean)
Swift declaration
var showsPhysics: Bool { get set }
get · iOS 11.0+

showsQuadCount

TypeScript
get showsQuadCount(): boolean
Swift declaration
var showsQuadCount: Bool { get set }
set · iOS 11.0+

showsQuadCount

TypeScript
set showsQuadCount(value: boolean)
Swift declaration
var showsQuadCount: Bool { get set }

Skipped declarations

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)

All SpriteKit types →