Preliminary steps to adding update and event callbacks to StateSet, StateAttribute
and Uniform.
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user