46 INLINE
void CallbackNode::
49 cdata->_cull_callback = object;
71 return cdata->_cull_callback;
104 cdata->_draw_callback = object;
126 return cdata->_draw_callback;
134 INLINE CallbackNode::CData::
143 INLINE CallbackNode::CData::
144 CData(
const CallbackNode::CData ©) :
145 _cull_callback(copy._cull_callback),
146 _draw_callback(copy._draw_callback)
CallbackObject * get_draw_callback() const
Returns the CallbackObject set by set_draw_callback().
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
CallbackObject * get_cull_callback() const
Returns the CallbackObject set by set_cull_callback().
void clear_cull_callback()
Removes the callback set by an earlier call to set_cull_callback().
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
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...
void set_cull_callback(CallbackObject *object)
Sets the CallbackObject that will be notified when this node is visited during the cull traversal...
void set_draw_callback(CallbackObject *object)
Sets the CallbackObject that will be notified when this node is visited during the draw traversal...