Changes between Version 2 and Version 3 of Support/Porting/ChangesToDrawable

Show
Ignore:
Timestamp:
10/23/07 22:05:11 (7 years ago)
Author:
bryan.thrall@… (IP: 66.109.88.253)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Support/Porting/ChangesToDrawable

    v2 v3  
    22[[TracNav(TracNav/SupportTOC)]] 
    33 
    4 The following changes are essential to make to affected code, otherwise your original draw methods won't ever be called, so if you subclass from Drawable or `Drawable::DrawCallback`.  
     4The following changes are essential to make to affected code, otherwise your original draw methods won't ever be called, if you subclass from Drawable, `Drawable::DrawCallback`, or `Drawable::CullCallback`.  
    55 
    66To enable more data about the current rendering traversal to be passed in the Drawable draw callbacks and subclasses drawImplementation method a new data strcture `osg::RenderInfo` has been introduced, and is now passed into the drawImplementation(..) method instead of `osg::State&.`  !RenderInfo "has a" `osg::State` object so you can get this simply and use as before. 
     
    3535} 
    3636}}} 
    37 Similar changes are required from `Drawable::DrawCallback`. 
     37Similar changes are required for `Drawable::DrawCallback` and `Drawable::CullCallback`. 
    3838 
    3939