Class vxlBakeEngine

Implements a basic rendering strategy that works with the following programs: vxl.def.essl.bake TODO: Does not deal with model scalars well...

Constructor

vxlBakeEngine(renderer)

Parameters:

renderer

Methods

.allocate(scene)
Implements basic allocation of memory. Creates the WebGL buffers for the actor

Parameters:

Type Name Description
vxlScene scene

the scene to allocate memory for

Returns:

an object that contains the allocated WebGL buffers
.deallocate(scene)

Parameters:

Type Name Description
vxlScene scene

the scene to deallocate memory from

.render(scene)
Renders the actors one by one

Parameters:

Type Name Description
vxlScene scene

the scene to render