-
-
Clears color to (0.0, 0.0, 0.0, 0.0); depth to 1.0; and stencil to 0.
-
-
The value to clear the color buffer to. When undefined
, the color buffer is not cleared.
undefined
-
-
The value to clear the depth buffer to. When undefined
, the depth buffer is not cleared.
undefined
-
-
The framebuffer to clear.
undefined
-
-
The object who created this command. This is useful for debugging command
execution; it allows you to see who created a command when you only have a
reference to the command, and can be used to selectively execute commands
with Scene#debugCommandFilter
.
undefined
See:
-
-
The pass in which to run this command.
undefined
-
-
The render state to apply when executing the clear command. The following states affect clearing:
scissor test, color mask, depth mask, and stencil mask. When the render state is
undefined
, the default render state is used.
undefined
-
-
The value to clear the stencil buffer to. When undefined
, the stencil buffer is not cleared.
undefined