15#ifndef OSG_POLYGONSTIPPLE
16#define OSG_POLYGONSTIPPLE 1
20#ifndef GL_POLYGON_STIPPLE
21 #define GL_POLYGON_STIPPLE 0x0B42
53 inline const GLubyte*
getMask()
const {
return _mask;}
#define GL_POLYGON_STIPPLE
Definition PolygonStipple:21
Definition PolygonStipple:28
META_StateAttribute(osg, PolygonStipple, POLYGONSTIPPLE)
virtual void apply(State &state) const
PolygonStipple(const PolygonStipple &lw, const CopyOp ©op=CopyOp::SHALLOW_COPY)
void setMask(const GLubyte *mask)
virtual int compare(const StateAttribute &sa) const
PolygonStipple(const GLubyte *mask)
virtual bool getModeUsage(StateAttribute::ModeUsage &usage) const
Definition PolygonStipple:43
virtual ~PolygonStipple()
const GLubyte * getMask() const
Definition PolygonStipple:53
Definition StateAttribute:77
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19
#define OSG_EXPORT
Definition osg/Export:39
Definition StateAttribute:308
virtual void usesMode(GLMode mode)=0