Class GLGE.Renderer
Sets the scene to render
Defined in: glge.js.
Constructor Attributes | Constructor Name and Description |
---|---|
GLGE.Renderer(scene)
|
Method Attributes | Method Name and Description |
---|---|
getScene(gcene)
Gets the scene which is set to be rendered
|
|
render()
Renders the current scene to the canvas
|
|
setScene(scene)
Sets the scene to render
|
Method Detail
getScene(gcene)
Gets the scene which is set to be rendered
- Parameters:
- gcene
- Returns:
- the current render scene
render()
Renders the current scene to the canvas
setScene(scene)
Sets the scene to render
- Parameters:
- {GLGE.Scene} scene
- The scene to be rendered