15 #ifndef OSG_POLYGONSTIPPLE
16 #define OSG_POLYGONSTIPPLE 1
18 #include <osg/StateAttribute>
20 #ifndef GL_POLYGON_STIPPLE
21 #define GL_POLYGON_STIPPLE 0x0B42
50 void setMask(
const GLubyte* mask);
53 inline const GLubyte*
getMask()
const {
return _mask;}
56 virtual void apply(
State& state)
const;
virtual bool getModeUsage(StateAttribute::ModeUsage &usage) const
virtual void usesMode(GLMode mode)=0
const GLubyte * getMask() const
#define GL_POLYGON_STIPPLE
#define META_StateAttribute(library, name, type)