跳转到内容

RenderPipeline

此内容尚不支持你的语言。

Defined in: renderPipeline.ts:49

new RenderPipeline(): RenderPipeline

RenderPipeline

addPreFlushCallback(cb): void

Defined in: renderPipeline.ts:69

(registry) => void

void


beginFrame(elapsedSec?): void

Defined in: renderPipeline.ts:84

number = 0

void


beginScreenCapture(): void

Defined in: renderPipeline.ts:88

void


endScreenCapture(): void

Defined in: renderPipeline.ts:99

void


render(params): void

Defined in: renderPipeline.ts:125

RenderParams

void


renderCamera(params): void

Defined in: renderPipeline.ts:141

CameraRenderParams

void


runPreFlushCallbacks(registry): void

Defined in: renderPipeline.ts:80

Run what plugins registered to draw just before the frame flushes (glyph quads, today). submitScene calls this in the middle of its own sequence; a host that owns its render loop in C++ — the native one — calls it directly at the same point, between collecting the scene and flushing, so text lands in the same frame either way.

CppRegistry

void


setActiveScenes(scenes): void

Defined in: renderPipeline.ts:56

Set<string> | null

void


setPostProcess(pp): void

Defined in: renderPipeline.ts:65

Inject this App’s post-process API (by PostProcessPlugin). When null, the pipeline does no post-processing — it has no hard dependency on the post-process subsystem.

PostProcessAPI | null

void


submitScene(registry, viewProjection, viewport, _elapsed): void

Defined in: renderPipeline.ts:107

CppRegistry

Float32Array

Viewport

number

void