10 #ifndef GR_SceneItem_h
11 #define GR_SceneItem_h
32 { myRefCount.
add(1); }
35 if (!myRefCount.
add(-1))
44 : myName(name), myID(id) {}
Base class for various things that can appear in a scene outside of geometry.
UT_NON_COPYABLE(GR_SceneItem)
void setName(const UT_StringHolder &name)
GLuint const GLchar * name
const UT_StringHolder & name() const
GR_SceneItem(const UT_StringHolder &name, int id)
T add(T val)
Atomically adds val to myValue, returning the new value of myValue.