36 INLINE
void CallbackNode::
38 CDWriter cdata(_cycler);
39 cdata->_cull_callback = object;
54 get_cull_callback()
const {
55 CDReader cdata(_cycler);
56 return cdata->_cull_callback;
80 CDWriter cdata(_cycler);
81 cdata->_draw_callback = object;
96 get_draw_callback()
const {
97 CDReader cdata(_cycler);
98 return cdata->_draw_callback;
104 INLINE CallbackNode::CData::
111 INLINE CallbackNode::CData::
112 CData(
const CallbackNode::CData ©) :
113 _cull_callback(copy._cull_callback),
114 _draw_callback(copy._draw_callback)
set_cull_callback
Sets the CallbackObject that will be notified when this node is visited during the cull traversal.
set_draw_callback
Sets the CallbackObject that will be notified when this node is visited during the draw traversal.
void clear_cull_callback()
Removes the callback set by an earlier call to set_cull_callback().
void clear_draw_callback()
Removes the callback set by an earlier call to set_draw_callback().
This is a generic object that can be assigned to a callback at various points in the rendering proces...