Constructor
Methods
addCommand(command, queueopt)
Add a command to the task
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
command |
RenderCommand | A RenderCommand instance | ||
queue |
number |
<optional> |
0 | ID of the queue |
execute(renderAPI)
Execute the task
Parameters:
| Name | Type | Description |
|---|---|---|
renderAPI |
RenderAPI | RenderAPI instance used to process the commands |