Preliminary steps to adding update and event callbacks to StateSet, StateAttribute

and Uniform.
This commit is contained in:
Robert Osfield
2005-04-22 22:45:39 +00:00
parent c7fb7e8b5f
commit 819d2c6c56
7 changed files with 137 additions and 14 deletions

View File

@@ -21,10 +21,10 @@ namespace osg {
class Referenced;
class Object;
class Image;
//class Texture;
class Texture;
class StateSet;
class StateAttribute;
class Uniform;
class Node;
class Drawable;
class Array;
@@ -51,6 +51,7 @@ class OSG_EXPORT CopyOp
DEEP_COPY_ARRAYS = 128,
DEEP_COPY_PRIMITIVES = 256,
DEEP_COPY_SHAPES = 512,
DEEP_COPY_UNIFORMS = 1024,
DEEP_COPY_ALL = 0xffffffff
};
@@ -70,6 +71,7 @@ class OSG_EXPORT CopyOp
virtual Array* operator() (const Array* array) const;
virtual PrimitiveSet* operator() (const PrimitiveSet* primitives) const;
virtual Shape* operator() (const Shape* shape) const;
virtual Uniform* operator() (const Uniform* shape) const;
protected: