Inheritance diagram for osg::TexMat:
Public Member Functions | |
TexMat () | |
TexMat (const TexMat &texmat, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
META_StateAttribute (osg, TexMat, TEXMAT) | |
virtual bool | isTextureAttribute () const |
virtual int | compare (const StateAttribute &sa) const |
void | setMatrix (const Matrix &matrix) |
Matrix & | getMatrix () |
const Matrix & | getMatrix () const |
virtual void | apply (State &state) const |
Protected Member Functions | |
virtual | ~TexMat (void) |
Protected Attributes | |
Matrix | _matrix |
osg::TexMat::TexMat | ( | ) |
osg::TexMat::TexMat | ( | const TexMat & | texmat, | |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY | |||
) | [inline] |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::TexMat::~TexMat | ( | void | ) | [protected, virtual] |
virtual void osg::TexMat::apply | ( | State & | state | ) | const [virtual] |
Apply texture matrix to OpenGL state.
Implements osg::StateAttribute.
virtual int osg::TexMat::compare | ( | const StateAttribute & | sa | ) | const [inline, virtual] |
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Implements osg::StateAttribute.
const Matrix& osg::TexMat::getMatrix | ( | ) | const [inline] |
Get the const texture matrix
Matrix& osg::TexMat::getMatrix | ( | ) | [inline] |
Get the texture matrix
virtual bool osg::TexMat::isTextureAttribute | ( | ) | const [inline, virtual] |
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.
osg::TexMat::META_StateAttribute | ( | osg | , | |
TexMat | , | |||
TEXMAT | ||||
) |
void osg::TexMat::setMatrix | ( | const Matrix & | matrix | ) | [inline] |
Set the texture matrix
Matrix osg::TexMat::_matrix [protected] |