14 #ifndef OSG_CLIPCONTROL
15 #define OSG_CLIPCONTROL 1
17 #include <osg/StateAttribute>
19 #ifndef GL_VERSION_4_5
20 #define GL_NEGATIVE_ONE_TO_ONE 0x935E
21 #define GL_ZERO_TO_ONE 0x935F
45 ClipControl(Origin origin=LOWER_LEFT, DepthMode depthMode=NEGATIVE_ONE_TO_ONE);
73 virtual void apply(
State& state)
const;
DepthMode getDepthMode() const
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
virtual int compare(const StateAttribute &sa) const
#define GL_NEGATIVE_ONE_TO_ONE
void setOrigin(Origin origin)
#define META_StateAttribute(library, name, type)
#define COMPARE_StateAttribute_Parameter(parameter)
void setDepthMode(DepthMode depthMode)