|
| | PsMultiMesh (const char *pszName) |
| | Construct a multimesh.
|
| | ~PsMultiMesh () override |
| int | DrawShowing () override |
| | Draw every instance in each pass of the material of the mesh.
|
| void | DrawInstances () |
| | Send the settings of the instanced microprogram and the face packet of the mesh, then the transforms in batches, each batch followed by a frame flush.
|
| | RndMultiMesh (const char *pszName) |
| | Construct a multimesh without a mesh or instances.
|
| | ~RndMultiMesh () override |
| | Drop the reference on the mesh.
|
| void | ListDrawObjects (std::list< RndObject * > &objects) override |
| | Add the draw objects of the mesh to a list.
|
| void | ListDrawables (std::list< RndDrawable * > &drawables) override |
| | Add the multimesh, when the mesh has something to draw at an instance, then the children, to a list.
|
| int | DrawShowing () override |
| | Draw the mesh at each instance.
|
| void | DumpText (PrnStream &stream) override |
| | Write a description of the multimesh and its base.
|
| void | Save (BinStream &stream) override |
| | Write the multimesh and its base.
|
| void | Replace (RndObject *pFrom, RndObject *pTo) override |
| | Replace a child, or the mesh, with another object.
|
| const char * | ClassName () const override |
| | Report the class name.
|
| void | Copy (const RndObject *pSource, int nFlags) override |
| | Copy another multimesh and its base.
|
| void | Load (BinStream &stream) override |
| | Read what Save() wrote.
|
| void | SetMesh (RndMesh *pMesh) |
| | Set the mesh to draw.
|
| RndMesh * | GetMesh () const |
| const std::list< Transform > & | GetTransforms () const |
| std::list< Transform > & | GetTransforms () |
| | RndDrawable () |
| | Construct a showing drawable without a highlight or children.
|
| | ~RndDrawable () override |
| | Drop the references on the children.
|
| virtual void | SetShowing (int nShowing) |
| | Set whether the drawable draws at all.
|
| virtual void | SetHighlight (int nHighlight) |
| | Set whether the drawable draws with its highlight treatment.
|
| RndDrawable * | Parent () |
| | Find the drawable whose children include this one.
|
| void | Draw () |
| | Draw the drawable and then its children, when it is showing.
|
| bool | AddDraw (RndDrawable *pDraw, RndDrawable *pBefore) |
| | Add a child before another.
|
| void | RemoveDraw (RndDrawable *pDraw) |
| | Remove a child.
|
| void | ClearDraws () |
| | Remove every child.
|
| int | GetShowing () const |
| const std::list< RndDrawable * > & | GetDraws () const |
| | RndObject (const char *pszName) |
| | Construct an object and register it under a name.
|
| virtual | ~RndObject () |
| | Notify every referrer, then erase the registration.
|
| void | SetName (const char *pszName) |
| | Register the object under a different name.
|
| void | AddRef (RndObject *pReferrer) |
| | Register an object as a store of a pointer to this one.
|
| void | RemoveRef (RndObject *pReferrer) |
| | Drop the first registration AddRef() made for a referrer.
|
| const char * | GetName () const |
| const std::list< RndObject * > & | GetRefs () const |
| int | GetInternal () const |
| void | SetInternal (int nInternal) |
Multimesh, PlayStation 2.
The RTTI includes the class name and records RndMultiMesh as the one base. The class adds no data member. The face packet of the mesh is sent to VU1 once for each pass, and the transforms of the instances follow in batches that the instanced microprogram draws the faces with.