15#define OSG_FRONTFACE 1
#define COMPARE_StateAttribute_Parameter(parameter)
COMPARE_StateAttribute_Parameter macro is a helper for implementing the StatateAtribute::compare(....
Definition StateAttribute:69
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
COMPARE_StateAttribute_Types macro is a helper for implementing the StateAtribute::compare(....
Definition StateAttribute:57
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
FrontFace(const FrontFace &ff, const CopyOp ©op=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy.
Definition FrontFace:36
Mode
Definition FrontFace:28
@ COUNTER_CLOCKWISE
Definition FrontFace:30
@ CLOCKWISE
Definition FrontFace:29
Mode _mode
Definition FrontFace:64
virtual int compare(const StateAttribute &sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Definition FrontFace:43
virtual void apply(State &state) const
apply the OpenGL state attributes.
void setMode(Mode mode)
Definition FrontFace:55
FrontFace(Mode face=COUNTER_CLOCKWISE)
META_StateAttribute(osg, FrontFace, FRONTFACE)
Mode getMode() const
Definition FrontFace:56
Encapsulates the current applied OpenGL modes, attributes and vertex arrays settings,...
Definition State:80
@ FRONTFACE
Definition StateAttribute:135
#define OSG_EXPORT
Definition Export:39