Skip to content
On this page

@thejsngin/standard-assets / Modules / renderer/type

Module: renderer/type

Table of contents

Type Aliases

Events

Type Aliases

rendererResourceType

Ƭ rendererResourceType: THREE.WebGLRenderer

renderer resource. Stored added at gameInstance.store.renderer.

Defined in

renderer/type.ts:14

Events

afterRenderEvent

Ƭ afterRenderEvent: Object

Fired after each render.

Type declaration

NameType
data[]
eventLevel["game"]
name"afterRender"
returnValany[]
waitForCompletiontrue

Defined in

renderer/type.ts:33


beforeRenderEvent

Ƭ beforeRenderEvent: Object

Fired before each render.

Type declaration

NameType
data[]
eventLevel["game"]
name"beforeRender"
returnValany[]
waitForCompletiontrue

Defined in

renderer/type.ts:21


renderEvent

Ƭ renderEvent: Object

Fired in parallel to the render.

Type declaration

NameType
data[]
eventLevel["game"]
name"render"
returnValany[]
waitForCompletionfalse

Defined in

renderer/type.ts:45


rendererResizeEvent

Ƭ rendererResizeEvent: Object

Fired before render, only if the dimenstions change.

Type declaration

NameType
data[{ x: number ; y: number }]
eventLevel["game"]
name"rendererResize"
returnValany[]
waitForCompletiontrue

Defined in

renderer/type.ts:57