|
resonance 1.0.1
|
One mesh that shows an arena screen, with the material it had when the arena was built. More...
#include <tnlarena.h>

Public Member Functions | |
| ~ScreenMesh () | |
| Put the recorded material back on the mesh. | |
| void | SetMaterial (Rnd::Mat *pMat) const |
| Put a material on the mesh. | |
Public Attributes | |
| Rnd::Mesh * | mMesh |
| Rnd::Mat * | mMat |
One mesh that shows an arena screen, with the material it had when the arena was built.
An eight-byte record. The name is inferred.
|
inline |
Put the recorded material back on the mesh.
Every copy runs it, so the temporary TnlArena's constructor pushes re-applies the mesh's material, and destroying mScreenMeshes restores every screen. The out-of-line copy is the deleting form and has no caller.
| void TnlArena::ScreenMesh::SetMaterial | ( | Rnd::Mat * | pMat | ) | const |
Put a material on the mesh.
The out-of-line copy sits in the TnlArena unit. The title is inferred.
| pMat | The material. |
| Rnd::Mesh* TnlArena::ScreenMesh::mMesh |
The mesh.
| Rnd::Mat* TnlArena::ScreenMesh::mMat |
The material the mesh used at construction.