Changeset 11164 for OpenSceneGraph/trunk/include/osg/CullSettings
- Timestamp:
- 03/05/10 13:55:08 (3 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osg/CullSettings (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osg/CullSettings
r10838 r11164 80 80 81 81 NO_VARIABLES = 0x00000000, 82 ALL_VARIABLES = 0xFFFFFFFF 83 }; 82 ALL_VARIABLES = 0x7FFFFFFF 83 }; 84 85 typedef int InheritanceMask; 84 86 85 87 /** Set the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object.*/ 86 void setInheritanceMask( unsigned intmask) { _inheritanceMask = mask; }88 void setInheritanceMask(InheritanceMask mask) { _inheritanceMask = mask; } 87 89 88 90 /** Get the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object.*/ 89 unsigned intgetInheritanceMask() const { return _inheritanceMask; }91 InheritanceMask getInheritanceMask() const { return _inheritanceMask; } 90 92 91 93 /** Set the local cull settings values from specified CullSettings object.*/ … … 191 193 }; 192 194 193 typedef unsignedint CullingMode;195 typedef int CullingMode; 194 196 195 197 /** Set the culling mode for the CullVisitor to use.*/ … … 245 247 protected: 246 248 247 unsigned int_inheritanceMask;249 InheritanceMask _inheritanceMask; 248 250 InheritanceMaskActionOnAttributeSetting _inheritanceMaskActionOnAttributeSetting; 249 251
