Skip to main content

Class: PostproductionRenderer

components.PostproductionRenderer

Renderer that uses efficient postproduction effects (e.g. Ambient Occlusion).

Hierarchy

Properties

afterUpdate

afterUpdate: Event<SimpleRenderer>

afterUpdate

Inherited from

SimpleRenderer.afterUpdate

Defined in

temp/components/core/SimpleRenderer/index.ts:32


beforeUpdate

beforeUpdate: Event<SimpleRenderer>

beforeUpdate

Inherited from

SimpleRenderer.beforeUpdate

Defined in

temp/components/core/SimpleRenderer/index.ts:29


clippingPlanes

clippingPlanes: Plane[] = []

The list of clipping planes used by this instance of the renderer.

Inherited from

SimpleRenderer.clippingPlanes

Defined in

temp/components/base-types/base-renderer.ts:33


enabled

enabled: boolean = true

enabled

Inherited from

SimpleRenderer.enabled

Defined in

temp/components/core/SimpleRenderer/index.ts:26


name

name: string = "SimpleRenderer"

name

Inherited from

SimpleRenderer.name

Defined in

temp/components/core/SimpleRenderer/index.ts:23


postproduction

postproduction: Postproduction

Helper object to handle the postproduction effects applied.

Defined in

temp/components/navigation/PostproductionRenderer/index.ts:10

Methods

dispose

dispose(): void

dispose.

Returns

void

Overrides

SimpleRenderer.dispose

Defined in

temp/components/navigation/PostproductionRenderer/index.ts:19


get

get(): WebGLRenderer

get

Returns

WebGLRenderer

Inherited from

SimpleRenderer.get

Defined in

temp/components/core/SimpleRenderer/index.ts:51


getSize

getSize(): Vector2

getSize.

Returns

Vector2

Inherited from

SimpleRenderer.getSize

Defined in

temp/components/core/SimpleRenderer/index.ts:76


resize

resize(): void

resize.

Returns

void

Overrides

SimpleRenderer.resize

Defined in

temp/components/navigation/PostproductionRenderer/index.ts:25


togglePlane

togglePlane(active, plane, isLocal?): void

Adds or removes a clipping plane to the renderer.

Parameters

NameType
activeboolean
planePlane
isLocal?boolean

Returns

void

Inherited from

SimpleRenderer.togglePlane

Defined in

temp/components/base-types/base-renderer.ts:40


update

update(_delta): void

update

Parameters

NameType
_deltanumber

Returns

void

Inherited from

SimpleRenderer.update

Defined in

temp/components/core/SimpleRenderer/index.ts:56