Torque 3D - Script Manual: RenderPassManager Class Reference

TorqueScript

Main   Class List   Namespace List   Online

RenderPassManager Class Reference
[Render Binning]

A grouping of render bin managers which forms a render pass. More...

Inheritance diagram for RenderPassManager:

List of all members.

Public Member Functions

void addManager (RenderBinManager renderBin)
 Add as a render bin manager to the pass.
RenderBinManager getManager (int index)
 Returns the render bin manager at the index or null if the index is out of range.
int getManagerCount ()
 Returns the total number of bin managers.
void removeManager (RenderBinManager renderBin)
 Removes a render bin manager.

Detailed Description

A grouping of render bin managers which forms a render pass.

The render pass is used to order a set of RenderBinManager objects which are used when rendering a scene. This class does little work itself other than managing its list of render bins.

In 'core/scripts/client/renderManager.cs' you will find the DiffuseRenderPassManager which is used by the C++ engine to render the scene.

See also:
RenderBinManager

Member Function Documentation

void RenderPassManager::addManager ( RenderBinManager  renderBin  ) 

Add as a render bin manager to the pass.

RenderBinManager RenderPassManager::getManager ( int  index  ) 

Returns the render bin manager at the index or null if the index is out of range.

int RenderPassManager::getManagerCount (  ) 

Returns the total number of bin managers.

void RenderPassManager::removeManager ( RenderBinManager  renderBin  ) 

Removes a render bin manager.



Copyright © GarageGames, LLC. All Rights Reserved.