wendy::render::Queue Class Reference
[3D rendering pipeline]

List of all members.


Detailed Description

Render operation queue.

Public Member Functions

 Queue (const Camera &camera, GL::Light *light=NULL, const String &name="")
void attachLight (GL::Light &light)
void detachLights (void)
OperationcreateOperation (void)
void destroyOperations (void)
void render (void) const
const StringgetName (void) const
const CameragetCamera (void) const
GL::LightgetActiveLight (void) const
const OperationListgetOperations (void) const
const GL::LightStategetLights (void) const

Constructor & Destructor Documentation

wendy::render::Queue::Queue ( const Camera camera,
GL::Light light = NULL,
const String name = "" 
)

Constructor. Creates a render queue for the specified camera, optionally with the specified light and name.

Parameters:
[in] camera The camera to use.
[in] light The light to collect geometry for, or NULL to not collect for a light.
[in] name The desired name of the render queue.


Member Function Documentation

void wendy::render::Queue::attachLight ( GL::Light light  ) 

Attaches a light to this render queue.

Parameters:
[in] light The light to attach.

void wendy::render::Queue::detachLights ( void   ) 

Detaches all attached lights from this render queue.

Operation& wendy::render::Queue::createOperation ( void   ) 

Creates a render operation in this render queue.

Returns:
The created operation.

void wendy::render::Queue::destroyOperations ( void   ) 

Destroys all render operations in this render queue.

void wendy::render::Queue::render ( void   )  const

Renders the operations in this render queue, using the specified camera and the attached lights.

const String& wendy::render::Queue::getName ( void   )  const

Returns:
The name of this render queue.

const Camera& wendy::render::Queue::getCamera ( void   )  const

Returns:
The camera used by this render queue.

GL::Light* wendy::render::Queue::getActiveLight ( void   )  const

Returns:
The light for which to collect geometry, or NULL if not collecting geometry for a light.

const OperationList& wendy::render::Queue::getOperations ( void   )  const

Returns:
The render operations in this render queue.

const GL::LightState& wendy::render::Queue::getLights ( void   )  const

Returns:
The lights attached to this render queue.


Generated on Thu Sep 11 20:42:41 2008 for Wendy by  doxygen 1.5.6