Skip to content

Class: ForwardRenderJob

Forward+ Every time a forward rendering is performed, the entity of the object is rendered, and the color and depth buffer values are calculated. The depth buffer will determine whether a tile is visible. If visible, the values in the color buffer will be updated.

Hierarchy

  • RendererJob

    ForwardRenderJob

Constructors

Properties

Accessors

Methods

Constructors

constructor

new ForwardRenderJob(view): ForwardRenderJob

Parameters

NameType
viewView3D

Returns

ForwardRenderJob

Overrides

RendererJob.constructor

Defined in

src/gfx/renderJob/jobs/ForwardRenderJob.ts:23

Properties

pickFire

pickFire: PickFire

Inherited from

RendererJob.pickFire

Defined in

src/gfx/renderJob/jobs/RendererJob.ts:88


renderState

renderState: boolean = false

Inherited from

RendererJob.renderState

Defined in

src/gfx/renderJob/jobs/RendererJob.ts:89

Accessors

view

set view(view): void

Parameters

NameType
viewView3D

Returns

void

Inherited from

RendererJob.view

Defined in

src/gfx/renderJob/jobs/RendererJob.ts:136

Methods

start

start(): void

Returns

void

Overrides

RendererJob.start

Defined in

src/gfx/renderJob/jobs/ForwardRenderJob.ts:27


addRenderer

addRenderer<T>(c, param?): T

Type parameters

NameType
Textends RendererBase

Parameters

NameType
cCtor<T>
param?any

Returns

T

Inherited from

RendererJob.addRenderer

Defined in

src/gfx/renderJob/jobs/RendererJob.ts:118


stop

stop(): void

stop render task

Returns

void

Inherited from

RendererJob.stop

Defined in

src/gfx/renderJob/jobs/RendererJob.ts:154


pause

pause(): void

pause render task

Returns

void

Inherited from

RendererJob.pause

Defined in

src/gfx/renderJob/jobs/RendererJob.ts:159


resume

resume(): void

back render task

Returns

void

Inherited from

RendererJob.resume

Defined in

src/gfx/renderJob/jobs/RendererJob.ts:166


addPost

addPost(post): PostBase | PostBase[]

Add a post processing special effects task

Parameters

NameType
postPostBase

Returns

PostBase | PostBase[]

Inherited from

RendererJob.addPost

Defined in

src/gfx/renderJob/jobs/RendererJob.ts:174


removePost

removePost(post): void

Remove specified post-processing effects

Parameters

NameType
postPostBase | PostBase[]

Returns

void

Inherited from

RendererJob.removePost

Defined in

src/gfx/renderJob/jobs/RendererJob.ts:191


renderFrame

renderFrame(): void

To render a frame of the scene

Returns

void

Inherited from

RendererJob.renderFrame

Defined in

src/gfx/renderJob/jobs/RendererJob.ts:204