Menu - Top - Home - Donate to Me

H3DU.RenderPass3D

Back to documentation index.

H3DU.RenderPass3D(batch, [parameters])

Describes a batch (a scene graph of 3D objects) and options for rendering that batch.

Parameters

Members

Methods

H3DU.RenderPass3D#batch

The batch to render.

Type: H3DU.Batch3D

H3DU.RenderPass3D#clearColor

Whether to clear the color buffer before rendering the batch.

Default Value: true

H3DU.RenderPass3D#clearDepth

Whether to clear the depth buffer before rendering the batch.

Default Value: true

H3DU.RenderPass3D#clearStencil

Whether to clear the stencil buffer before rendering the batch.

Default Value: true

H3DU.RenderPass3D#frameBuffer

Framebuffer to render to.

Type: H3DU.FrameBufferInfo

Default Value: null

H3DU.RenderPass3D#shader

Shader to use.

Type: H3DU.ShaderInfo

Default Value: null

H3DU.RenderPass3D#useFrameBufferSize

Use the dimensions of the given framebuffer rather than those of the scene rendering it.

Type: boolean

Default Value: false

H3DU.RenderPass3D#setParams(parameters)

Sets parameters for this render pass object.

Parameters

Return Value

This object. (Type: H3DU.RenderPass3D)

Back to documentation index.