Command

Command

new Command

Represents a command to the renderer for clearing.

Parameters:
Name Type Argument Description
clearState ClearState <optional>
The clear state.

Members

boundingVolume :DOC_TBA

The bounding volume of the geometry.

clearState :Object

The clear state. If this property is undefined, a default clear state is used.

count :Number

The number of vertices to draw in the vertex array.

framebuffer :Framebuffer

The framebuffer to clear.

framebuffer :Framebuffer

The framebuffer to draw to.

modelMatrix :Matrix4

The transformation from the geometry in model space to world space.

offset :Number

The offset to start drawing in the vertex array.

primitiveType :PrimitiveType

The type of geometry in the vertex array.

renderState :Object

The render state.
See:

shaderProgram :ShaderProgram

The shader program to apply.

uniformMap :Object

An object with functions whose names match the uniforms in the shader program and return values to set those uniforms.

vertexArray :VertexArray

The vertex array.

Command

new Command

Represents a command to the renderer for drawing.

Members

boundingVolume :DOC_TBA

The bounding volume of the geometry.

clearState :Object

The clear state. If this property is undefined, a default clear state is used.

count :Number

The number of vertices to draw in the vertex array.

framebuffer :Framebuffer

The framebuffer to clear.

framebuffer :Framebuffer

The framebuffer to draw to.

modelMatrix :Matrix4

The transformation from the geometry in model space to world space.

offset :Number

The offset to start drawing in the vertex array.

primitiveType :PrimitiveType

The type of geometry in the vertex array.

renderState :Object

The render state.
See:

shaderProgram :ShaderProgram

The shader program to apply.

uniformMap :Object

An object with functions whose names match the uniforms in the shader program and return values to set those uniforms.

vertexArray :VertexArray

The vertex array.