15#define OSG_TexGenNode 1
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
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
TexGen encapsulates the OpenGL glTexGen (texture coordinate generation) state.
Definition TexGen:43
unsigned int _textureUnit
Definition TexGenNode:70
const TexGen * getTexGen() const
Get the const TexGen.
Definition TexGenNode:61
virtual void setThreadSafeRefUnref(bool threadSafe)
Set whether to use a mutex to ensure ref() and unref() are thread safe.
TexGen * getTexGen()
Get the TexGen.
Definition TexGenNode:58
osg::ref_ptr< TexGen > _texgen
Definition TexGenNode:71
TexGenNode(TexGen *texgen)
void setTexGen(TexGen *texgen)
Set the TexGen.
unsigned int getTextureUnit() const
Definition TexGenNode:52
TexGenNode(const TexGenNode &tgb, const CopyOp ©op=CopyOp::SHALLOW_COPY)
void setTextureUnit(unsigned int textureUnit)
Set the texture unit that this TexGenNode is associated with.
Definition TexGenNode:50
META_Node(osg, TexGenNode)
void setReferenceFrame(ReferenceFrame rf)
Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame.
ReferenceFrame getReferenceFrame() const
Get the TexGenNode's ReferenceFrame.
Definition TexGenNode:47
ReferenceFrame
Definition TexGenNode:37
@ RELATIVE_RF
Definition TexGenNode:38
@ ABSOLUTE_RF
Definition TexGenNode:39
ReferenceFrame _referenceFrame
Definition TexGenNode:73
#define OSG_EXPORT
Definition Export:39