14 #ifndef OSG_LINESTIPPLE
15 #define OSG_LINESTIPPLE 1
17 #include <osg/StateAttribute>
19 #ifndef GL_LINE_STIPPLE
20 #define GL_LINE_STIPPLE 0x0B24
39 _pattern(lw._pattern) {}
63 void setFactor(GLint factor);
66 void setPattern(GLushort pattern);
69 virtual void apply(
State& state)
const;
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
virtual void usesMode(GLMode mode)=0
LineStipple(GLint factor, GLushort pattern)
#define META_StateAttribute(library, name, type)
LineStipple(const LineStipple &lw, const CopyOp ©op=CopyOp::SHALLOW_COPY)
GLushort getPattern() const
#define COMPARE_StateAttribute_Parameter(parameter)
virtual int compare(const StateAttribute &sa) const
virtual bool getModeUsage(StateAttribute::ModeUsage &usage) const