Inheritance diagram for osg::TexMat:
Public Member Functions | |
TexMat () | |
TexMat (const TexMat &texmat, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_StateAttribute (osg, TexMat, TEXMAT) | |
virtual bool | isTextureAttribute () const |
Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. | |
virtual int | compare (const StateAttribute &sa) const |
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. | |
void | setMatrix (const Matrix &matrix) |
Set the texture matrix. | |
Matrix & | getMatrix () |
Get the texture matrix. | |
const Matrix & | getMatrix () const |
Get the const texture matrix. | |
virtual void | apply (State &state) const |
Apply texture matrix to OpenGL state. | |
Protected Member Functions | |
virtual | ~TexMat (void) |
Protected Attributes | |
Matrix | _matrix |
|
|
|
Copy constructor using CopyOp to manage deep vs shallow copy.
|
|
|
|
Apply texture matrix to OpenGL state.
Implements osg::StateAttribute. |
|
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Implements osg::StateAttribute. |
|
Get the const texture matrix.
|
|
Get the texture matrix.
|
|
Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit.
Reimplemented from osg::StateAttribute. |
|
|
|
Set the texture matrix.
|
|
|