new DrawCommand
Represents a command to the renderer for drawing.
See:
Source:
Members
-
boundingVolume :DOC_TBA
-
The bounding volume of the geometry.
-
count :Number
-
The number of vertices to draw in the vertex array.
-
cull :Boolean
-
When
true
, the renderer frustum and horizon culls the command based on its DrawCommand#boundingVolume. If the command was already culled, set this tofalse
for a performance improvement.- Default Value:
- true
-
executeInClosestFrustum :Boolean
-
Specifies if this command is only to be executed in the frustum closest to the eye containing the bounding volume. Defaults to
false
. -
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.
-
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.