RenderPipeline
Defined in: renderPipeline.ts:49
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new RenderPipeline():
RenderPipeline
Returns
Section titled “Returns”RenderPipeline
Methods
Section titled “Methods”addPreFlushCallback()
Section titled “addPreFlushCallback()”addPreFlushCallback(
cb):void
Defined in: renderPipeline.ts:69
Parameters
Section titled “Parameters”(registry) => void
Returns
Section titled “Returns”void
beginFrame()
Section titled “beginFrame()”beginFrame(
elapsedSec?):void
Defined in: renderPipeline.ts:84
Parameters
Section titled “Parameters”elapsedSec?
Section titled “elapsedSec?”number = 0
Returns
Section titled “Returns”void
beginScreenCapture()
Section titled “beginScreenCapture()”beginScreenCapture():
void
Defined in: renderPipeline.ts:88
Returns
Section titled “Returns”void
endScreenCapture()
Section titled “endScreenCapture()”endScreenCapture():
void
Defined in: renderPipeline.ts:99
Returns
Section titled “Returns”void
render()
Section titled “render()”render(
params):void
Defined in: renderPipeline.ts:125
Parameters
Section titled “Parameters”params
Section titled “params”Returns
Section titled “Returns”void
renderCamera()
Section titled “renderCamera()”renderCamera(
params):void
Defined in: renderPipeline.ts:141
Parameters
Section titled “Parameters”params
Section titled “params”Returns
Section titled “Returns”void
runPreFlushCallbacks()
Section titled “runPreFlushCallbacks()”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.
Parameters
Section titled “Parameters”registry
Section titled “registry”Returns
Section titled “Returns”void
setActiveScenes()
Section titled “setActiveScenes()”setActiveScenes(
scenes):void
Defined in: renderPipeline.ts:56
Parameters
Section titled “Parameters”scenes
Section titled “scenes”Set<string> | null
Returns
Section titled “Returns”void
setPostProcess()
Section titled “setPostProcess()”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.
Parameters
Section titled “Parameters”PostProcessAPI | null
Returns
Section titled “Returns”void
submitScene()
Section titled “submitScene()”submitScene(
registry,viewProjection,viewport,_elapsed):void
Defined in: renderPipeline.ts:107
Parameters
Section titled “Parameters”registry
Section titled “registry”viewProjection
Section titled “viewProjection”Float32Array
viewport
Section titled “viewport”_elapsed
Section titled “_elapsed”number
Returns
Section titled “Returns”void