#include <gauge3d/graphics/model.h>
Inherits GAUGE3D::GObject.
Public Methods | |
virtual | ~RenderInfo () |
virtual int | StartFrame (pAnimState animState,const GVector &viewPoint,const GQuaternion &viewAngle,const GFrustum &viewFrustum,float geoLod)=0 |
Sets everything up to render a frame with the given parameters. More... | |
virtual void | GetStaticInfo (RenderSet *target,int setNum)=0 |
Fills in the static parts of the render set. More... | |
virtual void | GetDynamicInfo (RenderSet *target,int setNum)=0 |
Fills in the dynamic parts of the render set. More... |
A RenderInfo object is bound to a particular GModel object and is used to request the information necessary to render the model. The renderer will need one RenderInfo for each sprite in the scene which uses a particular model. The idea here is to allow safe multithreaded access to this information. (So, the renderer could be drawing two different sprites that have the same model at the same time.)
|
Sets everything up to render a frame with the given parameters.
|
|
Fills in the static parts of the render set. The renderer will use the values of the mDynamicFlags, mNumVertices, and mNumIndices fields of target to allocate buffers to store the dynamically generated parts of the model. Then, GetDynamicInfo will be called to fill in those buffers with the model data. |
|
Fills in the dynamic parts of the render set.
|