|
wavelength 1.0.0
|
One texture stage. More...
#include <rndmat.h>
Public Member Functions | |
| Stage () | |
| Construct a multiplying stage with an identity transform and no texture. | |
| void | SetTex (RndTex *pTex) |
| Set the texture, moving the material's reference to it. | |
| void | Print (PrnStream &stream) const |
| Write a description of the stage. | |
| void | Save (BinStream &stream) const |
| Write the stage. | |
| void | Load (BinStream &stream) |
| Read what Save() wrote, or an earlier version of it. | |
| int | GetBlend () const |
| void | SetBlend (int nBlend) |
| int | GetGenMode () const |
| RndMat * | GetMat () const |
| void | SetMat (RndMat *pMat) |
| RndTex * | GetTex () const |
| int | GetUseXfm () const |
| void | SetUseXfm (int nUseXfm) |
| int | GetWrap () const |
| void | SetWrap (int nWrap) |
| const Transform & | GetXfm () const |
| Transform & | GetXfm () |
| void | SetXfm (const Transform &xfm) |
One texture stage.
The RTTI includes the nested class name.
| RndMat::Stage::Stage | ( | ) |
Construct a multiplying stage with an identity transform and no texture.
| void RndMat::Stage::SetTex | ( | RndTex * | pTex | ) |
Set the texture, moving the material's reference to it.
| pTex | The texture, or null. |
| void RndMat::Stage::Print | ( | PrnStream & | stream | ) | const |
Write a description of the stage.
| stream | The stream to write to. |
| void RndMat::Stage::Save | ( | BinStream & | stream | ) | const |
Write the stage.
| stream | The stream to write to. |
| void RndMat::Stage::Load | ( | BinStream & | stream | ) |
Read what Save() wrote, or an earlier version of it.
The version is the one RndMat::Load() read last.
| stream | The stream to read from. |
|
inline |
|
inline |
| nBlend | The Blend of the stage. |
|
inline |
|
inline |
|
inline |
| pMat | The material that has the stage. |
|
inline |
|
inline |
|
inline |
| nUseXfm | Non-zero to apply mXfm. |
|
inline |
|
inline |
| nWrap | The TexWrap of the stage. |
|
inline |
|
inline |
|
inline |
| xfm | The texture coordinate transform. |