Readonly animationReadonly boundsReadonly defReadonly eventRenderer Event Bus for the Stage to emit events onto
In reality this is just the RendererMain instance, which is an EventEmitter. this allows us to directly emit events from the Stage to RendererMain without having to set up forwarding handlers.
Readonly fontPrivate fontPrivate fpsPrivate fpsPrivate frameReadonly optionsPrivate renderReadonly rendererReadonly rootReadonly shReadonly textReadonly txReadonly txCreate a shader controller instance
Emit all queued frame events
This method should be called after the frame has been rendered to emit all events that were queued during the frame.
See queueFrameEvent for more information.
Queue an event to be emitted after the current/next frame is rendered
When we are operating in the context of the render loop, we may want to emit events that are related to the current frame. However, we generally do NOT want to emit events directly in the middle of the render loop, since this could enable event handlers to modify the scene graph and cause unexpected behavior. Instead, we queue up events to be emitted and then flush the queue after the frame has been rendered.
Protected resolveResolves the default property values for a Node
This method is used internally by the RendererMain to resolve the default property values for a Node. It is exposed publicly so that it can be used by Core Driver implementations.
Given a font name, and possible renderer override, return the best compatible text renderer.
Will try to return a canvas renderer if no other suitable renderer can be resolved.
Generated using TypeDoc
Stage constructor