Class Index | File Index

Classes


Class c3dl.Renderer

base class for OpenGLES11 and OpenGLES20.
Defined in: renderer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Are objects filled in or are they rendered using wireframe?
 
Get the version of the renderer as a number.
 
Get the OpenGL ES Version string.
 
Set how objects will be rendered, either filled in or using wireframe.
Class Detail
c3dl.Renderer()
Method Detail
{int} getFillMode()
Are objects filled in or are they rendered using wireframe?
Returns:
{int} either c3dl.const.FILL or c3dl.const.WIRE_FRAME.

{0.0 | 1.1 | 2.0} getVersion()
Get the version of the renderer as a number.
Returns:
{0.0 | 1.1 | 2.0} A value of 0.0 is returned if the class was instantiated incorrectly.

{"Renderer interface" | "OpenGL ES 1.1" | "OpenGL ES 2.0"} getVersionString()
Get the OpenGL ES Version string.
Returns:
{"Renderer interface" | "OpenGL ES 1.1" | "OpenGL ES 2.0"} "Renderer interface" is returned if the Renderer was not instantiated correctly.

setFillMode(mode)
Set how objects will be rendered, either filled in or using wireframe.
Parameters:
{c3dl.const.FILL | c3dl.const.WIRE_FRAME} mode

Documentation generated by JsDoc Toolkit 2.1.0 on Wed Apr 01 2009 15:22:15 GMT-0400 (EDT)