Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osg::ShaderParameterChunkBase Class Reference

ShaderParameterChunk Base Class.

#include <OSGShaderParameterChunkBase.h>

Inheritance diagram for osg::ShaderParameterChunkBase:

osg::StateChunk osg::StateChunkBase osg::Attachment osg::FieldContainer osg::ShaderParameterChunk osg::ShaderChunkBase osg::SHLParameterChunkBase osg::ShaderChunk osg::SHLParameterChunk osg::SHLChunkBase osg::SHLChunk List of all members.

Chunk Class Access

*UInt32 getClassId (void) const
virtual const StateChunkClassgetClass (void) const

State

*virtual void activate (DrawActionBase *action, UInt32 index=0)
virtual void changeFrom (DrawActionBase *action, StateChunk *old, UInt32 index=0)
virtual void deactivate (DrawActionBase *action, UInt32 index=0)
virtual bool isTransparent (void) const

General Fieldcontainer Declaration

virtual osg::FieldContainerPtr shallowCopy (void) const
static AttachmentPtr create (void)
static AttachmentPtr createEmpty (void)

Sync

*void executeSyncImpl (ShaderParameterChunkBase *pOther, const BitVector &whichField)
virtual void executeSync (FieldContainer &other, const BitVector &whichField)

Public Types

typedef ShaderParameterChunkPtr Ptr
enum  { ParametersFieldId = Inherited::NextFieldId, NextFieldId = ParametersFieldId + 1 }

Public Member Functions

FieldContainer Get
*virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Binary Access
*virtual UInt32 getBinSize (const BitVector &whichField)
virtual void copyToBin (BinaryDataHandler &pMem, const BitVector &whichField)
virtual void copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField)

Static Public Member Functions

Class Get
*static FieldContainerTypegetClassType (void)
 access the type of the class
static UInt32 getClassTypeId (void)
 access the numerical type of the class

Static Public Attributes

static const osg::BitVector ParametersFieldMask
static const osg::BitVector MTInfluenceMask
static const BitVector InternalFieldMask = (1 << Attachment::InternalFieldId)
static const BitVector ParentsFieldMask = (1 << Attachment::ParentsFieldId)
static const BitVector NextFieldMask

Protected Member Functions

Constructors
ShaderParameterChunkBase (void)
 ShaderParameterChunkBase (const ShaderParameterChunkBase &source)
Destructors
*virtual ~ShaderParameterChunkBase (void)

Static Protected Member Functions

static void initMethod (void)

Private Types

typedef StateChunk Inherited

Private Member Functions

void operator= (const ShaderParameterChunkBase &source)

Static Private Attributes

static FieldDescription_desc []
 ShaderParameterChunk description.
static FieldContainerType _type

Friends

class FieldContainer

Detailed Description

Definition at line 81 of file OSGShaderParameterChunkBase.h.


Member Typedef Documentation

typedef StateChunk osg::ShaderParameterChunkBase::Inherited [private]
 

Reimplemented from osg::StateChunk.

Reimplemented in osg::ShaderChunk, osg::ShaderChunkBase, osg::ShaderParameterChunk, osg::SHLChunk, osg::SHLChunkBase, osg::SHLParameterChunk, and osg::SHLParameterChunkBase.

Definition at line 85 of file OSGShaderParameterChunkBase.h.

typedef ShaderParameterChunkPtr osg::ShaderParameterChunkBase::Ptr
 

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::ShaderChunkBase, osg::SHLChunkBase, and osg::SHLParameterChunkBase.

Definition at line 90 of file OSGShaderParameterChunkBase.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
ParametersFieldId 
NextFieldId 

Reimplemented from osg::Attachment.

Definition at line 92 of file OSGShaderParameterChunkBase.h.


Constructor & Destructor Documentation

ShaderParameterChunkBase::ShaderParameterChunkBase void   )  [protected]
 

Definition at line 156 of file OSGShaderParameterChunkBase.cpp.

00156                                                        :
00157     _mfParameters             (), 
00158     Inherited() 
00159 {
00160 }

ShaderParameterChunkBase::ShaderParameterChunkBase const ShaderParameterChunkBase source  )  [protected]
 

Definition at line 166 of file OSGShaderParameterChunkBase.cpp.

00166                                                                                          :
00167     _mfParameters             (source._mfParameters             ), 
00168     Inherited                 (source)
00169 {
00170 }

ShaderParameterChunkBase::~ShaderParameterChunkBase void   )  [protected, virtual]
 

Definition at line 174 of file OSGShaderParameterChunkBase.cpp.

00175 {
00176 }


Member Function Documentation

osg::FieldContainerType & osg::ShaderParameterChunkBase::getClassType void   )  [inline, static]
 

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::ShaderChunkBase, osg::SHLChunkBase, and osg::SHLParameterChunkBase.

Definition at line 58 of file OSGShaderParameterChunkBase.inl.

References _type.

00059 {
00060     return _type; 
00061 } 

osg::UInt32 osg::ShaderParameterChunkBase::getClassTypeId void   )  [inline, static]
 

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::ShaderChunkBase, osg::SHLChunkBase, and osg::SHLParameterChunkBase.

Definition at line 65 of file OSGShaderParameterChunkBase.inl.

References _type, and osg::TypeBase::getId().

00066 {
00067     return _type.getId(); 
00068 } 

FieldContainerType & ShaderParameterChunkBase::getType void   )  [virtual]
 

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::ShaderChunkBase, osg::SHLChunkBase, and osg::SHLParameterChunkBase.

Definition at line 106 of file OSGShaderParameterChunkBase.cpp.

References _type.

00107 {
00108     return _type; 
00109 } 

const FieldContainerType & ShaderParameterChunkBase::getType void   )  const [virtual]
 

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::ShaderChunkBase, osg::SHLChunkBase, and osg::SHLParameterChunkBase.

Definition at line 111 of file OSGShaderParameterChunkBase.cpp.

References _type.

00112 {
00113     return _type;
00114 } 

UInt32 ShaderParameterChunkBase::getContainerSize void   )  const [virtual]
 

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::ShaderChunkBase, osg::SHLChunkBase, and osg::SHLParameterChunkBase.

Definition at line 117 of file OSGShaderParameterChunkBase.cpp.

00118 { 
00119     return sizeof(ShaderParameterChunk); 
00120 }

MFShaderParameterPtr * osg::ShaderParameterChunkBase::getMFParameters void   )  [inline]
 

Definition at line 75 of file OSGShaderParameterChunkBase.inl.

References _mfParameters.

00076 {
00077     return &_mfParameters;
00078 }

ShaderParameterPtr & osg::ShaderParameterChunkBase::getParameters const UInt32  index  )  [inline]
 

Definition at line 84 of file OSGShaderParameterChunkBase.inl.

References _mfParameters.

Referenced by osg::SHLParameterChunk::operator==(), and osg::SHLChunk::operator==().

00085 {
00086     return _mfParameters[index];
00087 }

MFShaderParameterPtr & osg::ShaderParameterChunkBase::getParameters void   )  [inline]
 

Definition at line 91 of file OSGShaderParameterChunkBase.inl.

References _mfParameters.

Referenced by osg::SHLChunk::checkOSGParameters(), osg::SHLChunk::handleGL(), osg::ShaderParameterChunk::onCreate(), osg::SHLParameterChunk::operator==(), osg::SHLChunk::operator==(), osg::SHLParameterChunk::updateParameters(), and osg::SHLChunk::updateProgram().

00092 {
00093     return _mfParameters;
00094 }

const MFShaderParameterPtr & osg::ShaderParameterChunkBase::getParameters void   )  const [inline]
 

Definition at line 98 of file OSGShaderParameterChunkBase.inl.

References _mfParameters.

00099 {
00100     return _mfParameters;
00101 }

UInt32 ShaderParameterChunkBase::getBinSize const BitVector whichField  )  [virtual]
 

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::ShaderChunkBase, osg::SHLChunkBase, and osg::SHLParameterChunkBase.

Definition at line 180 of file OSGShaderParameterChunkBase.cpp.

References _mfParameters, osg::MField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::StateChunkBase::getBinSize(), osg::FieldBits::NoField, and ParametersFieldMask.

Referenced by osg::SHLParameterChunkBase::getBinSize(), and osg::ShaderChunkBase::getBinSize().

00181 {
00182     UInt32 returnValue = Inherited::getBinSize(whichField);
00183 
00184     if(FieldBits::NoField != (ParametersFieldMask & whichField))
00185     {
00186         returnValue += _mfParameters.getBinSize();
00187     }
00188 
00189 
00190     return returnValue;
00191 }

void ShaderParameterChunkBase::copyToBin BinaryDataHandler pMem,
const BitVector whichField
[virtual]
 

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::ShaderChunkBase, osg::SHLChunkBase, and osg::SHLParameterChunkBase.

Definition at line 193 of file OSGShaderParameterChunkBase.cpp.

References _mfParameters, osg::MField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::StateChunkBase::copyToBin(), osg::FieldBits::NoField, and ParametersFieldMask.

Referenced by osg::SHLParameterChunkBase::copyToBin(), and osg::ShaderChunkBase::copyToBin().

00195 {
00196     Inherited::copyToBin(pMem, whichField);
00197 
00198     if(FieldBits::NoField != (ParametersFieldMask & whichField))
00199     {
00200         _mfParameters.copyToBin(pMem);
00201     }
00202 
00203 
00204 }

void ShaderParameterChunkBase::copyFromBin BinaryDataHandler pMem,
const BitVector whichField
[virtual]
 

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::ShaderChunkBase, osg::SHLChunkBase, and osg::SHLParameterChunkBase.

Definition at line 206 of file OSGShaderParameterChunkBase.cpp.

References _mfParameters, osg::MField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::StateChunkBase::copyFromBin(), osg::FieldBits::NoField, and ParametersFieldMask.

Referenced by osg::SHLParameterChunkBase::copyFromBin(), and osg::ShaderChunkBase::copyFromBin().

00208 {
00209     Inherited::copyFromBin(pMem, whichField);
00210 
00211     if(FieldBits::NoField != (ParametersFieldMask & whichField))
00212     {
00213         _mfParameters.copyFromBin(pMem);
00214     }
00215 
00216 
00217 }

void ShaderParameterChunkBase::executeSyncImpl ShaderParameterChunkBase pOther,
const BitVector whichField
[protected]
 

Definition at line 220 of file OSGShaderParameterChunkBase.cpp.

References _mfParameters, osg::StateChunkBase::executeSyncImpl(), osg::FieldBits::NoField, ParametersFieldMask, and osg::MField< FieldTypeT, fieldNameSpace >::syncWith().

Referenced by executeSync(), osg::SHLParameterChunkBase::executeSyncImpl(), and osg::ShaderChunkBase::executeSyncImpl().

00222 {
00223 
00224     Inherited::executeSyncImpl(pOther, whichField);
00225 
00226     if(FieldBits::NoField != (ParametersFieldMask & whichField))
00227         _mfParameters.syncWith(pOther->_mfParameters);
00228 
00229 
00230 }

void ShaderParameterChunkBase::executeSync FieldContainer other,
const BitVector whichField
[protected, virtual]
 

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::ShaderChunkBase, osg::SHLChunkBase, and osg::SHLParameterChunkBase.

Definition at line 124 of file OSGShaderParameterChunkBase.cpp.

References executeSyncImpl().

00126 {
00127     this->executeSyncImpl((ShaderParameterChunkBase *) &other, whichField);
00128 }

void osg::ShaderParameterChunkBase::operator= const ShaderParameterChunkBase source  )  [private]
 

UInt32 osg::StateChunk::getClassId void   )  const [inline, inherited]
 

Definition at line 48 of file OSGStateChunk.inl.

References osg::StateChunk::getClass(), and osg::StateChunkClass::getId().

00049 {
00050     return getClass()->getId();
00051 }

const StateChunkClass * StateChunk::getClass void   )  const [virtual, inherited]
 

Reimplemented in osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::FragmentProgramChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::VertexProgramChunk, osg::SHLChunk, and osg::SHLParameterChunk.

Definition at line 282 of file OSGStateChunk.cpp.

Referenced by osg::StateChunk::getClassId().

00283 {
00284     return NULL;
00285 }

UInt32 osg::StateChunk::getStaticClassId void   )  [inline, static, inherited]
 

Reimplemented in osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::FragmentProgramChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, and osg::VertexProgramChunk.

Definition at line 56 of file OSGStateChunk.inl.

References osg::StateChunkClass::getId(), and osg::StateChunk::getStaticClass().

00057 {
00058     return StateChunk::getStaticClass()->getId();
00059 }

const StateChunkClass * osg::StateChunk::getStaticClass void   )  [inline, static, inherited]
 

Reimplemented in osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::FragmentProgramChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, and osg::VertexProgramChunk.

Definition at line 62 of file OSGStateChunk.inl.

Referenced by osg::StateChunk::getStaticClassId().

00063 {
00064     return NULL;
00065 }

void StateChunk::changed BitVector  whichField,
UInt32  origin
[virtual, inherited]
 

Reimplemented from osg::FieldContainer.

Reimplemented in osg::FatBorderChunk, osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::FragmentProgramChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::VertexProgramChunk, osg::ShaderChunk, osg::ShaderParameterChunk, osg::SHLChunk, and osg::SHLParameterChunk.

Definition at line 223 of file OSGStateChunk.cpp.

Referenced by osg::TwoSidedLightingChunk::changed(), osg::TransformChunk::changed(), osg::TextureChunk::changed(), osg::TexGenChunk::changed(), osg::StencilChunk::changed(), osg::ShaderParameterChunk::changed(), osg::RegisterCombinersChunk::changed(), osg::ProgramChunk::changed(), osg::PolygonChunk::changed(), osg::PointChunk::changed(), osg::MaterialChunk::changed(), osg::LineChunk::changed(), osg::LightChunk::changed(), osg::DepthChunk::changed(), osg::ColorMaskChunk::changed(), and osg::BlendChunk::changed().

00224 {
00225 }

void StateChunk::dump UInt32  uiIndent = 0,
const BitVector  bvFlags = 0
const [virtual, inherited]
 

Reimplemented from osg::Attachment.

Reimplemented in osg::FatBorderChunk, osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::FragmentProgramChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::VertexProgramChunk, osg::ShaderChunk, osg::ShaderParameterChunk, osg::SHLChunk, and osg::SHLParameterChunk.

Definition at line 229 of file OSGStateChunk.cpp.

References SLOG.

Referenced by osg::PolygonChunk::dump().

00231 {
00232     SLOG << "Dump StateChunk NI" << std::endl;
00233 }

void StateChunk::activate DrawActionBase action,
UInt32  index = 0
[virtual, inherited]
 

Activate the chunk, i.e. set the OpenGl state covered by the chunk which is different from the default state to the given state.

Reimplemented in osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::SHLChunk, and osg::SHLParameterChunk.

Definition at line 242 of file OSGStateChunk.cpp.

References FWARNING.

Referenced by osg::StateChunk::changeFrom().

00244 {
00245     FWARNING(("StateChunk::activate called!\n"));
00246 }

void StateChunk::changeFrom DrawActionBase action,
StateChunk old,
UInt32  index = 0
[virtual, inherited]
 

Change from an old chunk of the same type to this chunk. Note that in general no type checking is done, make sure to use this on a legal combination of chunks!

Reimplemented in osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::SHLChunk, and osg::SHLParameterChunk.

Definition at line 253 of file OSGStateChunk.cpp.

References osg::StateChunk::activate(), and osg::StateChunk::deactivate().

00256 {
00257     old->deactivate(action, index);
00258     activate(action, index);
00259 }

void StateChunk::deactivate DrawActionBase action,
UInt32  index = 0
[virtual, inherited]
 

Deactivate the chunk, i.e. set the OpenGl state covered by the chunk which is different from the default state to the default state.

Reimplemented in osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::SHLChunk, and osg::SHLParameterChunk.

Definition at line 265 of file OSGStateChunk.cpp.

References FWARNING.

Referenced by osg::TextureChunk::changeFrom(), osg::TexGenChunk::changeFrom(), osg::StateChunk::changeFrom(), osg::RegisterCombinersChunk::changeFrom(), osg::LineChunk::changeFrom(), osg::DepthChunk::changeFrom(), osg::CubeTextureChunk::changeFrom(), osg::ColorMaskChunk::changeFrom(), and osg::SkyBackground::clear().

00267 {
00268     FWARNING(("StateChunk::deactivate called!\n"));
00269 }

bool StateChunk::isTransparent void   )  const [virtual, inherited]
 

Check if the chunk is transparent, i.e. needs to be rendered after the opaque objects.

Reimplemented in osg::BlendChunk, osg::MaterialChunk, osg::PointChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, and osg::TextureChunk.

Definition at line 275 of file OSGStateChunk.cpp.

00276 {
00277     return false;
00278 }

Real32 StateChunk::switchCost StateChunk chunk  )  [virtual, inherited]
 

Calculate how expensive it is to switch from one instance of the chunk class to another. In most cases not implemented yet, will return 0.

Reimplemented in osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::SHLChunk, and osg::SHLParameterChunk.

Definition at line 293 of file OSGStateChunk.cpp.

00294 {
00295     return 0;
00296 }

bool StateChunk::operator< const StateChunk other  )  const [virtual, inherited]
 

Calculate how expensive it is to switch from one instance of the chunk class to another. In most cases not implemented yet, will return 0.

Reimplemented in osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::SHLChunk, and osg::SHLParameterChunk.

Definition at line 298 of file OSGStateChunk.cpp.

00299 {
00300     return this < &other;
00301 }

bool StateChunk::operator== const StateChunk other  )  const [virtual, inherited]
 

Compare two chunks. In most cases not implemented yet, will return false.

Reimplemented in osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::SHLChunk, and osg::SHLParameterChunk.

Definition at line 306 of file OSGStateChunk.cpp.

00307 {
00308     return false;
00309 }

bool StateChunk::operator!= const StateChunk other  )  const [virtual, inherited]
 

Calculate how expensive it is to switch from one instance of the chunk class to another. In most cases not implemented yet, will return 0.

Reimplemented in osg::BlendChunk, osg::ClipPlaneChunk, osg::ColorMaskChunk, osg::CubeTextureChunk, osg::DepthChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::SHLChunk, and osg::SHLParameterChunk.

Definition at line 311 of file OSGStateChunk.cpp.

00312 {
00313     return !(*this == other);
00314 }

void StateChunk::initMethod void   )  [static, protected, inherited]
 

Reimplemented in osg::FatBorderChunk, osg::BlendChunk, osg::ColorMaskChunk, osg::DepthChunk, osg::FragmentProgramChunk, osg::LightChunk, osg::LineChunk, osg::MaterialChunk, osg::PointChunk, osg::PolygonChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, osg::StencilChunk, osg::TexGenChunk, osg::TextureChunk, osg::TextureTransformChunk, osg::TransformChunk, osg::TwoSidedLightingChunk, osg::VertexProgramChunk, osg::ShaderChunk, osg::ShaderParameterChunk, osg::SHLChunk, and osg::SHLParameterChunk.

Definition at line 192 of file OSGStateChunk.cpp.

Referenced by osg::StencilChunk::initMethod(), osg::LineChunk::initMethod(), and osg::BlendChunk::initMethod().

00193 {
00194 }

void StateChunkBase::executeSyncImpl StateChunkBase pOther,
const BitVector whichField
[protected, inherited]
 

Definition at line 182 of file OSGStateChunkBase.cpp.

References osg::Attachment::executeSyncImpl().

Referenced by osg::StateChunkBase::executeSync(), osg::TwoSidedLightingChunkBase::executeSyncImpl(), osg::TransformChunkBase::executeSyncImpl(), osg::TextureChunkBase::executeSyncImpl(), osg::TexGenChunkBase::executeSyncImpl(), osg::StencilChunkBase::executeSyncImpl(), executeSyncImpl(), osg::RegisterCombinersChunkBase::executeSyncImpl(), osg::ProgramChunkBase::executeSyncImpl(), osg::PolygonChunkBase::executeSyncImpl(), osg::PointChunkBase::executeSyncImpl(), osg::MaterialChunkBase::executeSyncImpl(), osg::LineChunkBase::executeSyncImpl(), osg::LightChunkBase::executeSyncImpl(), osg::DepthChunkBase::executeSyncImpl(), osg::ColorMaskChunkBase::executeSyncImpl(), osg::ClipPlaneChunkBase::executeSyncImpl(), and osg::BlendChunkBase::executeSyncImpl().

00184 {
00185 
00186     Inherited::executeSyncImpl(pOther, whichField);
00187 
00188 
00189 }

void Attachment::executeSyncImpl Attachment pOther,
const BitVector whichField
[protected, inherited]
 

Definition at line 306 of file