new DrawCommand
Represents a command to the renderer for drawing.
See:
Source:
Members
-
boundingVolume :DOC_TBA
-
The bounding volume of the geometry.
- Default Value:
- undefined
-
count :Number
-
The number of vertices to draw in the vertex array.
- Default Value:
- undefined
-
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
.- Default Value:
- false
-
framebuffer :Framebuffer
-
The framebuffer to draw to.
- Default Value:
- undefined
-
modelMatrix :Matrix4
-
The transformation from the geometry in model space to world space.
- Default Value:
- undefined
-
offset :Number
-
The offset to start drawing in the vertex array.
- Default Value:
- undefined
-
primitiveType :PrimitiveType
-
The type of geometry in the vertex array.
- Default Value:
- undefined
-
renderState :Object
-
The render state.
- Default Value:
- undefined
See:
-
shaderProgram :ShaderProgram
-
The shader program to apply.
- Default Value:
- undefined
-
uniformMap :Object
-
An object with functions whose names match the uniforms in the shader program and return values to set those uniforms.
- Default Value:
- undefined
-
vertexArray :VertexArray
-
The vertex array.
- Default Value:
- undefined