17 #include <osg/StateAttribute>
30 TexMat(
const Matrix& matrix):_matrix(matrix),_scaleByTextureRectangleSize(false) {}
35 _matrix(texmat._matrix),
36 _scaleByTextureRectangleSize(texmat._scaleByTextureRectangleSize) {}
75 virtual void apply(
State& state)
const;
TexMat(const TexMat &texmat, const CopyOp ©op=CopyOp::SHALLOW_COPY)
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
TexMat(const Matrix &matrix)
bool getScaleByTextureRectangleSize() const
virtual int compare(const StateAttribute &sa) const
bool _scaleByTextureRectangleSize
void setScaleByTextureRectangleSize(bool flag)
const Matrix & getMatrix() const
#define META_StateAttribute(library, name, type)
virtual bool isTextureAttribute() const
void setMatrix(const Matrix &matrix)
#define COMPARE_StateAttribute_Parameter(parameter)