Class Index | File Index

Classes


Class SinglePassRenderingStrategy

Represent the first-pass rendering algorithm.
Defined in: benchgl.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new SinglePassRenderingStrategy.
Method Summary
Method Attributes Method Name and Description
 
Renders all the models registered to the Renderer.
 
renderModel(model)
Renders a model.
 
Setups camera uniforms in the current shader program.
 
Setups special effects uniforms in the current shader program.
 
Setups lights uniforms in the current shader program.
 
Setups texture uniforms in the current shader program.
Class Detail
SinglePassRenderingStrategy(renderer)
Creates a new SinglePassRenderingStrategy.
Parameters:
{Renderer} renderer
A reference to the Renderer performing the algorithm.
Method Detail
renderAll()
Renders all the models registered to the Renderer.

renderModel(model)
Renders a model.
Parameters:
{Model} model
The model to render.

setupCamera()
Setups camera uniforms in the current shader program.

setupEffects()
Setups special effects uniforms in the current shader program.

setupLights()
Setups lights uniforms in the current shader program.

setupTextures()
Setups texture uniforms in the current shader program.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu May 19 2011 00:47:49 GMT+0200 (CEST)