renderer

Description

These commands are the low level renderer controls. You shouldn't need to deal with these unless you are being wily, or implementing a fluxus renderer outside of the scratchpad interface.

(make-renderer)

Returns rendererid-number

Makes a new scenegraph renderer.

Example

 (make-renderer)

(renderer-grab rendererid-number)

Returns void

Make this renderer the current context for commands.

Example

 (renderer-grab renderer)

(renderer-ungrab)

Returns void

Pop the renderer context stack.

Example

 (renderer-grab renderer)

(fluxus-render)

Returns void

Clears the backbuffer, and renders everything

Example

 (fluxus-render)

(tick-physics)

Returns void

Update the physics system.

Example

 (tick-physics)

(render-physics)

Returns void

Render the physics system (for helper graphics). This is the low level command - use set-physics-debug instead.

Example

 (render-physics)

(reset-renderers)

Returns void

Deletes all the renderers and makes a new default one.

Example

 (reset-renderers)

(reshape width-number height-number)

Returns void

Calls reshape on the current renderer

Example

 (reshape 100 100)

(fluxus-init)

Returns void

Inits the whole rendering system, only needs calling once.

Example

 (fluxus-init)

(fluxus-error-log)

Returns void

Returns a string containing error information for the last frame.

Example

 (display (fluxus-error-log))