Inheritance diagram for osg::ColorMatrix:
Public Member Functions | |
ColorMatrix () | |
ColorMatrix (const ColorMatrix &cm, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_StateAttribute (osg, ColorMatrix, COLORMATRIX) | |
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) |
Sets the color matrix. | |
Matrix & | getMatrix () |
Gets the color matrix. | |
const Matrix & | getMatrix () const |
Gets the const color matrix. | |
virtual void | apply (State &state) const |
Applies as OpenGL texture matrix. | |
Protected Member Functions | |
virtual | ~ColorMatrix (void) |
Protected Attributes | |
Matrix | _matrix |
|
|
|
Copy constructor using CopyOp to manage deep vs shallow copy.
|
|
|
|
Applies as OpenGL texture matrix.
Implements osg::StateAttribute. |
|
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Implements osg::StateAttribute. |
|
Gets the const color matrix.
|
|
Gets the color matrix.
|
|
|
|
Sets the color matrix.
|
|
|