Skip to content

Documentation / scene / SceneRenderOptions

Interface: SceneRenderOptions

Defined in: libs/scene/src/render/rendergraph/scene_render_context.ts:79

Scene render options. Omitted or null clear values preserve the target.

Properties

camera?

optional camera?: Camera

Defined in: libs/scene/src/render/rendergraph/scene_render_context.ts:81

Camera whose uniforms drive the render. Defaults to the frame's ctx.camera.


clearColor?

optional clearColor?: Vector4

Defined in: libs/scene/src/render/rendergraph/scene_render_context.ts:83

Color clear value. Omit or pass null to skip the color clear.


clearDepth?

optional clearDepth?: number

Defined in: libs/scene/src/render/rendergraph/scene_render_context.ts:85

Depth clear value. Omit or pass null to skip the depth clear.


clearStencil?

optional clearStencil?: number

Defined in: libs/scene/src/render/rendergraph/scene_render_context.ts:87

Stencil clear value. Omit or pass null to skip the stencil clear.

Released under the MIT License.