Constructor
new Renderable(spec)
Instantiates an Renderable object.
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
spec |
Object
|
The renderable specification object.
|
Methods
draw(options) → {Renderable}
Execute the draw command for the underlying buffers.
- Source:
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object
|
The options to pass to 'drawElements'. Optional.
|