27 class StateAttributeCallback;
29 class UniformCallback;
48 DEEP_COPY_OBJECTS = 1<<0,
49 DEEP_COPY_NODES = 1<<1,
50 DEEP_COPY_DRAWABLES = 1<<2,
51 DEEP_COPY_STATESETS = 1<<3,
52 DEEP_COPY_STATEATTRIBUTES = 1<<4,
53 DEEP_COPY_TEXTURES = 1<<5,
54 DEEP_COPY_IMAGES = 1<<6,
55 DEEP_COPY_ARRAYS = 1<<7,
56 DEEP_COPY_PRIMITIVES = 1<<8,
57 DEEP_COPY_SHAPES = 1<<9,
58 DEEP_COPY_UNIFORMS = 1<<10,
59 DEEP_COPY_CALLBACKS = 1<<11,
60 DEEP_COPY_USERDATA = 1<<12,
61 DEEP_COPY_ALL = 0x7FFFFFFF
66 inline CopyOp(CopyFlags flags=SHALLOW_COPY):_flags(flags) {}
74 virtual Node* operator() (
const Node* node)
const;
79 virtual Image* operator() (
const Image* image)
const;
80 virtual Array* operator() (
const Array* array)
const;
82 virtual Shape* operator() (
const Shape* shape)
const;
void setCopyFlags(CopyFlags flags)
CopyOp(CopyFlags flags=SHALLOW_COPY)
CopyFlags getCopyFlags() const