15#define OSG_SHADEMODEL 1
22#ifndef OSG_GL_FIXED_FUNCTION_AVAILABLE
23 #define GL_FLAT 0x1D00
24 #define GL_SMOOTH 0x1D01
#define GL_SMOOTH
Definition ShadeModel:24
#define GL_FLAT
Definition ShadeModel:23
#define COMPARE_StateAttribute_Parameter(parameter)
Definition StateAttribute:69
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
Definition StateAttribute:57
Mode getMode() const
Definition ShadeModel:63
ShadeModel(const ShadeModel &sm, const CopyOp ©op=CopyOp::SHALLOW_COPY)
Definition ShadeModel:41
META_StateAttribute(osg, ShadeModel, SHADEMODEL)
Mode _mode
Definition ShadeModel:71
ShadeModel(Mode mode=SMOOTH)
virtual int compare(const StateAttribute &sa) const
Definition ShadeModel:49
Mode
Definition ShadeModel:33
void setMode(Mode mode)
Definition ShadeModel:61
virtual void apply(State &state) const
Definition StateAttribute:77
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19
#define OSG_EXPORT
Definition osg/Export:39