Menu - Top - Home - Donate to Me

H3DU.RenderPass

Back to documentation index.

H3DU.RenderPass(batch, [parameters])

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

Parameters

Members

Methods

H3DU.RenderPass#batch

The batch to render.

Type: H3DU.Batch3D

H3DU.RenderPass#clearColor

Whether to clear the color buffer before rendering the batch.

Default Value: true

H3DU.RenderPass#clearDepth

Whether to clear the depth buffer before rendering the batch.

Default Value: true

H3DU.RenderPass#clearStencil

Whether to clear the stencil buffer before rendering the batch.

Default Value: true

H3DU.RenderPass#frameBuffer

Framebuffer to render to.

Type: H3DU.FrameBufferInfo

Default Value: null

H3DU.RenderPass#shader

Shader to use.

Type: H3DU.ShaderInfo

Default Value: null

H3DU.RenderPass#useFrameBufferSize

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

Type: boolean

Default Value: false

H3DU.RenderPass#setParams(parameters)

Sets parameters for this render pass object.

Parameters

Return Value

This object. (Type: H3DU.RenderPass)

Back to documentation index.