Class: PostproductionRenderer
components.PostproductionRenderer
Renderer that uses efficient postproduction effects (e.g. Ambient Occlusion).
Hierarchy
↳
PostproductionRenderer
Properties
afterUpdate
• afterUpdate: Event
<SimpleRenderer
>
Inherited from
Defined in
temp/components/core/SimpleRenderer/index.ts:32
beforeUpdate
• beforeUpdate: Event
<SimpleRenderer
>
Inherited from
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
Defined in
temp/components/base-types/base-renderer.ts:33
enabled
• enabled: boolean
= true
Inherited from
Defined in
temp/components/core/SimpleRenderer/index.ts:26
name
• name: string
= "SimpleRenderer"
Inherited from
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
Returns
void
Overrides
Defined in
temp/components/navigation/PostproductionRenderer/index.ts:19
get
▸ get(): WebGLRenderer
Returns
WebGLRenderer
Inherited from
Defined in
temp/components/core/SimpleRenderer/index.ts:51
getSize
▸ getSize(): Vector2
Returns
Vector2
Inherited from
Defined in
temp/components/core/SimpleRenderer/index.ts:76
resize
▸ resize(): void
Returns
void
Overrides
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
Name | Type |
---|---|
active | boolean |
plane | Plane |
isLocal? | boolean |
Returns
void
Inherited from
Defined in
temp/components/base-types/base-renderer.ts:40
update
▸ update(_delta
): void
Parameters
Name | Type |
---|---|
_delta | number |
Returns
void
Inherited from
Defined in
temp/components/core/SimpleRenderer/index.ts:56