fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / Contrib / Techniques / OSGClusterShadingStageBase.inl
blobd2fd9046515abf9a42e81ee23ed424ffb7b57c5d
1 /*---------------------------------------------------------------------------*\
2  *                                OpenSG                                     *
3  *                                                                           *
4  *                                                                           *
5  *               Copyright (C) 2000-2013 by the OpenSG Forum                 *
6  *                                                                           *
7  * contact: dirk@opensg.org, gerrit.voss@vossg.org, carsten_neumann@gmx.net  *
8  *                                                                           *
9 \*---------------------------------------------------------------------------*/
10 /*---------------------------------------------------------------------------*\
11  *                                License                                    *
12  *                                                                           *
13  * This library is free software; you can redistribute it and/or modify it   *
14  * under the terms of the GNU Library General Public License as published    *
15  * by the Free Software Foundation, version 2.                               *
16  *                                                                           *
17  * This library is distributed in the hope that it will be useful, but       *
18  * WITHOUT ANY WARRANTY; without even the implied warranty of                *
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
20  * Library General Public License for more details.                          *
21  *                                                                           *
22  * You should have received a copy of the GNU Library General Public         *
23  * License along with this library; if not, write to the Free Software       *
24  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                 *
25  *                                                                           *
26 \*---------------------------------------------------------------------------*/
27 /*---------------------------------------------------------------------------*\
28  *                                Changes                                    *
29  *                                                                           *
30  *                                                                           *
31  *                                                                           *
32  *                                                                           *
33  *                                                                           *
34  *                                                                           *
35 \*---------------------------------------------------------------------------*/
37 /*****************************************************************************\
38  *****************************************************************************
39  **                                                                         **
40  **                  This file is automatically generated.                  **
41  **                                                                         **
42  **          Any changes made to this file WILL be lost when it is          **
43  **           regenerated, which can become necessary at any time.          **
44  **                                                                         **
45  **     Do not change this file, changes should be done in the derived      **
46  **     class ClusterShadingStage!
47  **                                                                         **
48  *****************************************************************************
49 \*****************************************************************************/
51 OSG_BEGIN_NAMESPACE
55 //! access the type of the class
56 inline
57 OSG::FieldContainerType &ClusterShadingStageBase::getClassType(void)
59     return _type;
62 //! access the numerical type of the class
63 inline
64 OSG::UInt32 ClusterShadingStageBase::getClassTypeId(void)
66     return _type.getId();
69 inline
70 OSG::UInt16 ClusterShadingStageBase::getClassGroupId(void)
72     return _type.getGroupId();
75 /*------------------------------ get -----------------------------------*/
77 //! Get the value of the ClusterShadingStage::_sfBlockSize field.
79 inline
80 UInt32 &ClusterShadingStageBase::editBlockSize(void)
82     editSField(BlockSizeFieldMask);
84     return _sfBlockSize.getValue();
87 //! Get the value of the ClusterShadingStage::_sfBlockSize field.
88 inline
89       UInt32  ClusterShadingStageBase::getBlockSize(void) const
91     return _sfBlockSize.getValue();
94 //! Set the value of the ClusterShadingStage::_sfBlockSize field.
95 inline
96 void ClusterShadingStageBase::setBlockSize(const UInt32 value)
98     editSField(BlockSizeFieldMask);
100     _sfBlockSize.setValue(value);
102 //! Get the value of the ClusterShadingStage::_sfTileSize field.
104 inline
105 UInt32 &ClusterShadingStageBase::editTileSize(void)
107     editSField(TileSizeFieldMask);
109     return _sfTileSize.getValue();
112 //! Get the value of the ClusterShadingStage::_sfTileSize field.
113 inline
114       UInt32  ClusterShadingStageBase::getTileSize(void) const
116     return _sfTileSize.getValue();
119 //! Set the value of the ClusterShadingStage::_sfTileSize field.
120 inline
121 void ClusterShadingStageBase::setTileSize(const UInt32 value)
123     editSField(TileSizeFieldMask);
125     _sfTileSize.setValue(value);
127 //! Get the value of the ClusterShadingStage::_sfNumClusterZ field.
129 inline
130 UInt32 &ClusterShadingStageBase::editNumClusterZ(void)
132     editSField(NumClusterZFieldMask);
134     return _sfNumClusterZ.getValue();
137 //! Get the value of the ClusterShadingStage::_sfNumClusterZ field.
138 inline
139       UInt32  ClusterShadingStageBase::getNumClusterZ(void) const
141     return _sfNumClusterZ.getValue();
144 //! Set the value of the ClusterShadingStage::_sfNumClusterZ field.
145 inline
146 void ClusterShadingStageBase::setNumClusterZ(const UInt32 value)
148     editSField(NumClusterZFieldMask);
150     _sfNumClusterZ.setValue(value);
152 //! Get the value of the ClusterShadingStage::_sfNearPlaneOffset field.
154 inline
155 Real32 &ClusterShadingStageBase::editNearPlaneOffset(void)
157     editSField(NearPlaneOffsetFieldMask);
159     return _sfNearPlaneOffset.getValue();
162 //! Get the value of the ClusterShadingStage::_sfNearPlaneOffset field.
163 inline
164       Real32  ClusterShadingStageBase::getNearPlaneOffset(void) const
166     return _sfNearPlaneOffset.getValue();
169 //! Set the value of the ClusterShadingStage::_sfNearPlaneOffset field.
170 inline
171 void ClusterShadingStageBase::setNearPlaneOffset(const Real32 value)
173     editSField(NearPlaneOffsetFieldMask);
175     _sfNearPlaneOffset.setValue(value);
177 //! Get the value of the ClusterShadingStage::_sfDispatchDataBindingPnt field.
179 inline
180 UInt32 &ClusterShadingStageBase::editDispatchDataBindingPnt(void)
182     editSField(DispatchDataBindingPntFieldMask);
184     return _sfDispatchDataBindingPnt.getValue();
187 //! Get the value of the ClusterShadingStage::_sfDispatchDataBindingPnt field.
188 inline
189       UInt32  ClusterShadingStageBase::getDispatchDataBindingPnt(void) const
191     return _sfDispatchDataBindingPnt.getValue();
194 //! Set the value of the ClusterShadingStage::_sfDispatchDataBindingPnt field.
195 inline
196 void ClusterShadingStageBase::setDispatchDataBindingPnt(const UInt32 value)
198     editSField(DispatchDataBindingPntFieldMask);
200     _sfDispatchDataBindingPnt.setValue(value);
202 //! Get the value of the ClusterShadingStage::_sfClusterDataBindingPnt field.
204 inline
205 UInt32 &ClusterShadingStageBase::editClusterDataBindingPnt(void)
207     editSField(ClusterDataBindingPntFieldMask);
209     return _sfClusterDataBindingPnt.getValue();
212 //! Get the value of the ClusterShadingStage::_sfClusterDataBindingPnt field.
213 inline
214       UInt32  ClusterShadingStageBase::getClusterDataBindingPnt(void) const
216     return _sfClusterDataBindingPnt.getValue();
219 //! Set the value of the ClusterShadingStage::_sfClusterDataBindingPnt field.
220 inline
221 void ClusterShadingStageBase::setClusterDataBindingPnt(const UInt32 value)
223     editSField(ClusterDataBindingPntFieldMask);
225     _sfClusterDataBindingPnt.setValue(value);
227 //! Get the value of the ClusterShadingStage::_sfLightBindingPnt field.
229 inline
230 UInt32 &ClusterShadingStageBase::editLightBindingPnt(void)
232     editSField(LightBindingPntFieldMask);
234     return _sfLightBindingPnt.getValue();
237 //! Get the value of the ClusterShadingStage::_sfLightBindingPnt field.
238 inline
239       UInt32  ClusterShadingStageBase::getLightBindingPnt(void) const
241     return _sfLightBindingPnt.getValue();
244 //! Set the value of the ClusterShadingStage::_sfLightBindingPnt field.
245 inline
246 void ClusterShadingStageBase::setLightBindingPnt(const UInt32 value)
248     editSField(LightBindingPntFieldMask);
250     _sfLightBindingPnt.setValue(value);
252 //! Get the value of the ClusterShadingStage::_sfAffectedLightIndexListBindingPnt field.
254 inline
255 UInt32 &ClusterShadingStageBase::editAffectedLightIndexListBindingPnt(void)
257     editSField(AffectedLightIndexListBindingPntFieldMask);
259     return _sfAffectedLightIndexListBindingPnt.getValue();
262 //! Get the value of the ClusterShadingStage::_sfAffectedLightIndexListBindingPnt field.
263 inline
264       UInt32  ClusterShadingStageBase::getAffectedLightIndexListBindingPnt(void) const
266     return _sfAffectedLightIndexListBindingPnt.getValue();
269 //! Set the value of the ClusterShadingStage::_sfAffectedLightIndexListBindingPnt field.
270 inline
271 void ClusterShadingStageBase::setAffectedLightIndexListBindingPnt(const UInt32 value)
273     editSField(AffectedLightIndexListBindingPntFieldMask);
275     _sfAffectedLightIndexListBindingPnt.setValue(value);
277 //! Get the value of the ClusterShadingStage::_sfFrustumBindingPnt field.
279 inline
280 UInt32 &ClusterShadingStageBase::editFrustumBindingPnt(void)
282     editSField(FrustumBindingPntFieldMask);
284     return _sfFrustumBindingPnt.getValue();
287 //! Get the value of the ClusterShadingStage::_sfFrustumBindingPnt field.
288 inline
289       UInt32  ClusterShadingStageBase::getFrustumBindingPnt(void) const
291     return _sfFrustumBindingPnt.getValue();
294 //! Set the value of the ClusterShadingStage::_sfFrustumBindingPnt field.
295 inline
296 void ClusterShadingStageBase::setFrustumBindingPnt(const UInt32 value)
298     editSField(FrustumBindingPntFieldMask);
300     _sfFrustumBindingPnt.setValue(value);
302 //! Get the value of the ClusterShadingStage::_sfLightIndexListBindingPnt field.
304 inline
305 UInt32 &ClusterShadingStageBase::editLightIndexListBindingPnt(void)
307     editSField(LightIndexListBindingPntFieldMask);
309     return _sfLightIndexListBindingPnt.getValue();
312 //! Get the value of the ClusterShadingStage::_sfLightIndexListBindingPnt field.
313 inline
314       UInt32  ClusterShadingStageBase::getLightIndexListBindingPnt(void) const
316     return _sfLightIndexListBindingPnt.getValue();
319 //! Set the value of the ClusterShadingStage::_sfLightIndexListBindingPnt field.
320 inline
321 void ClusterShadingStageBase::setLightIndexListBindingPnt(const UInt32 value)
323     editSField(LightIndexListBindingPntFieldMask);
325     _sfLightIndexListBindingPnt.setValue(value);
327 //! Get the value of the ClusterShadingStage::_sfLightIndexCounterBindingPnt field.
329 inline
330 UInt32 &ClusterShadingStageBase::editLightIndexCounterBindingPnt(void)
332     editSField(LightIndexCounterBindingPntFieldMask);
334     return _sfLightIndexCounterBindingPnt.getValue();
337 //! Get the value of the ClusterShadingStage::_sfLightIndexCounterBindingPnt field.
338 inline
339       UInt32  ClusterShadingStageBase::getLightIndexCounterBindingPnt(void) const
341     return _sfLightIndexCounterBindingPnt.getValue();
344 //! Set the value of the ClusterShadingStage::_sfLightIndexCounterBindingPnt field.
345 inline
346 void ClusterShadingStageBase::setLightIndexCounterBindingPnt(const UInt32 value)
348     editSField(LightIndexCounterBindingPntFieldMask);
350     _sfLightIndexCounterBindingPnt.setValue(value);
352 //! Get the value of the ClusterShadingStage::_sfLightGridBindingPnt field.
354 inline
355 UInt32 &ClusterShadingStageBase::editLightGridBindingPnt(void)
357     editSField(LightGridBindingPntFieldMask);
359     return _sfLightGridBindingPnt.getValue();
362 //! Get the value of the ClusterShadingStage::_sfLightGridBindingPnt field.
363 inline
364       UInt32  ClusterShadingStageBase::getLightGridBindingPnt(void) const
366     return _sfLightGridBindingPnt.getValue();
369 //! Set the value of the ClusterShadingStage::_sfLightGridBindingPnt field.
370 inline
371 void ClusterShadingStageBase::setLightGridBindingPnt(const UInt32 value)
373     editSField(LightGridBindingPntFieldMask);
375     _sfLightGridBindingPnt.setValue(value);
377 //! Get the value of the ClusterShadingStage::_sfAffectedLightIndexListBlockName field.
379 inline
380 std::string &ClusterShadingStageBase::editAffectedLightIndexListBlockName(void)
382     editSField(AffectedLightIndexListBlockNameFieldMask);
384     return _sfAffectedLightIndexListBlockName.getValue();
387 //! Get the value of the ClusterShadingStage::_sfAffectedLightIndexListBlockName field.
388 inline
389 const std::string &ClusterShadingStageBase::getAffectedLightIndexListBlockName(void) const
391     return _sfAffectedLightIndexListBlockName.getValue();
394 //! Set the value of the ClusterShadingStage::_sfAffectedLightIndexListBlockName field.
395 inline
396 void ClusterShadingStageBase::setAffectedLightIndexListBlockName(const std::string &value)
398     editSField(AffectedLightIndexListBlockNameFieldMask);
400     _sfAffectedLightIndexListBlockName.setValue(value);
402 //! Get the value of the ClusterShadingStage::_sfAffectedLightIndexListVariableName field.
404 inline
405 std::string &ClusterShadingStageBase::editAffectedLightIndexListVariableName(void)
407     editSField(AffectedLightIndexListVariableNameFieldMask);
409     return _sfAffectedLightIndexListVariableName.getValue();
412 //! Get the value of the ClusterShadingStage::_sfAffectedLightIndexListVariableName field.
413 inline
414 const std::string &ClusterShadingStageBase::getAffectedLightIndexListVariableName(void) const
416     return _sfAffectedLightIndexListVariableName.getValue();
419 //! Set the value of the ClusterShadingStage::_sfAffectedLightIndexListVariableName field.
420 inline
421 void ClusterShadingStageBase::setAffectedLightIndexListVariableName(const std::string &value)
423     editSField(AffectedLightIndexListVariableNameFieldMask);
425     _sfAffectedLightIndexListVariableName.setValue(value);
427 //! Get the value of the ClusterShadingStage::_sfLightIndexListBlockName field.
429 inline
430 std::string &ClusterShadingStageBase::editLightIndexListBlockName(void)
432     editSField(LightIndexListBlockNameFieldMask);
434     return _sfLightIndexListBlockName.getValue();
437 //! Get the value of the ClusterShadingStage::_sfLightIndexListBlockName field.
438 inline
439 const std::string &ClusterShadingStageBase::getLightIndexListBlockName(void) const
441     return _sfLightIndexListBlockName.getValue();
444 //! Set the value of the ClusterShadingStage::_sfLightIndexListBlockName field.
445 inline
446 void ClusterShadingStageBase::setLightIndexListBlockName(const std::string &value)
448     editSField(LightIndexListBlockNameFieldMask);
450     _sfLightIndexListBlockName.setValue(value);
452 //! Get the value of the ClusterShadingStage::_sfLightIndexListVariableName field.
454 inline
455 std::string &ClusterShadingStageBase::editLightIndexListVariableName(void)
457     editSField(LightIndexListVariableNameFieldMask);
459     return _sfLightIndexListVariableName.getValue();
462 //! Get the value of the ClusterShadingStage::_sfLightIndexListVariableName field.
463 inline
464 const std::string &ClusterShadingStageBase::getLightIndexListVariableName(void) const
466     return _sfLightIndexListVariableName.getValue();
469 //! Set the value of the ClusterShadingStage::_sfLightIndexListVariableName field.
470 inline
471 void ClusterShadingStageBase::setLightIndexListVariableName(const std::string &value)
473     editSField(LightIndexListVariableNameFieldMask);
475     _sfLightIndexListVariableName.setValue(value);
477 //! Get the value of the ClusterShadingStage::_sfClusteringDataBlockName field.
479 inline
480 std::string &ClusterShadingStageBase::editClusteringDataBlockName(void)
482     editSField(ClusteringDataBlockNameFieldMask);
484     return _sfClusteringDataBlockName.getValue();
487 //! Get the value of the ClusterShadingStage::_sfClusteringDataBlockName field.
488 inline
489 const std::string &ClusterShadingStageBase::getClusteringDataBlockName(void) const
491     return _sfClusteringDataBlockName.getValue();
494 //! Set the value of the ClusterShadingStage::_sfClusteringDataBlockName field.
495 inline
496 void ClusterShadingStageBase::setClusteringDataBlockName(const std::string &value)
498     editSField(ClusteringDataBlockNameFieldMask);
500     _sfClusteringDataBlockName.setValue(value);
502 //! Get the value of the ClusterShadingStage::_sfClusteringDataVariableName field.
504 inline
505 std::string &ClusterShadingStageBase::editClusteringDataVariableName(void)
507     editSField(ClusteringDataVariableNameFieldMask);
509     return _sfClusteringDataVariableName.getValue();
512 //! Get the value of the ClusterShadingStage::_sfClusteringDataVariableName field.
513 inline
514 const std::string &ClusterShadingStageBase::getClusteringDataVariableName(void) const
516     return _sfClusteringDataVariableName.getValue();
519 //! Set the value of the ClusterShadingStage::_sfClusteringDataVariableName field.
520 inline
521 void ClusterShadingStageBase::setClusteringDataVariableName(const std::string &value)
523     editSField(ClusteringDataVariableNameFieldMask);
525     _sfClusteringDataVariableName.setValue(value);
527 //! Get the value of the ClusterShadingStage::_sfLightGridVariableName field.
529 inline
530 std::string &ClusterShadingStageBase::editLightGridVariableName(void)
532     editSField(LightGridVariableNameFieldMask);
534     return _sfLightGridVariableName.getValue();
537 //! Get the value of the ClusterShadingStage::_sfLightGridVariableName field.
538 inline
539 const std::string &ClusterShadingStageBase::getLightGridVariableName(void) const
541     return _sfLightGridVariableName.getValue();
544 //! Set the value of the ClusterShadingStage::_sfLightGridVariableName field.
545 inline
546 void ClusterShadingStageBase::setLightGridVariableName(const std::string &value)
548     editSField(LightGridVariableNameFieldMask);
550     _sfLightGridVariableName.setValue(value);
552 //! Get the value of the ClusterShadingStage::_sfCalcFrustumsOnCPU field.
554 inline
555 bool &ClusterShadingStageBase::editCalcFrustumsOnCPU(void)
557     editSField(CalcFrustumsOnCPUFieldMask);
559     return _sfCalcFrustumsOnCPU.getValue();
562 //! Get the value of the ClusterShadingStage::_sfCalcFrustumsOnCPU field.
563 inline
564       bool  ClusterShadingStageBase::getCalcFrustumsOnCPU(void) const
566     return _sfCalcFrustumsOnCPU.getValue();
569 //! Set the value of the ClusterShadingStage::_sfCalcFrustumsOnCPU field.
570 inline
571 void ClusterShadingStageBase::setCalcFrustumsOnCPU(const bool value)
573     editSField(CalcFrustumsOnCPUFieldMask);
575     _sfCalcFrustumsOnCPU.setValue(value);
577 //! Get the value of the ClusterShadingStage::_sfCullLighsOnCPU field.
579 inline
580 bool &ClusterShadingStageBase::editCullLighsOnCPU(void)
582     editSField(CullLighsOnCPUFieldMask);
584     return _sfCullLighsOnCPU.getValue();
587 //! Get the value of the ClusterShadingStage::_sfCullLighsOnCPU field.
588 inline
589       bool  ClusterShadingStageBase::getCullLighsOnCPU(void) const
591     return _sfCullLighsOnCPU.getValue();
594 //! Set the value of the ClusterShadingStage::_sfCullLighsOnCPU field.
595 inline
596 void ClusterShadingStageBase::setCullLighsOnCPU(const bool value)
598     editSField(CullLighsOnCPUFieldMask);
600     _sfCullLighsOnCPU.setValue(value);
602 //! Get the value of the ClusterShadingStage::_sfDisabled field.
604 inline
605 bool &ClusterShadingStageBase::editDisabled(void)
607     editSField(DisabledFieldMask);
609     return _sfDisabled.getValue();
612 //! Get the value of the ClusterShadingStage::_sfDisabled field.
613 inline
614       bool  ClusterShadingStageBase::getDisabled(void) const
616     return _sfDisabled.getValue();
619 //! Set the value of the ClusterShadingStage::_sfDisabled field.
620 inline
621 void ClusterShadingStageBase::setDisabled(const bool value)
623     editSField(DisabledFieldMask);
625     _sfDisabled.setValue(value);
627 //! Get the value of the ClusterShadingStage::_sfMaxLightIndexListSize field.
629 inline
630 UInt32 &ClusterShadingStageBase::editMaxLightIndexListSize(void)
632     editSField(MaxLightIndexListSizeFieldMask);
634     return _sfMaxLightIndexListSize.getValue();
637 //! Get the value of the ClusterShadingStage::_sfMaxLightIndexListSize field.
638 inline
639       UInt32  ClusterShadingStageBase::getMaxLightIndexListSize(void) const
641     return _sfMaxLightIndexListSize.getValue();
644 //! Set the value of the ClusterShadingStage::_sfMaxLightIndexListSize field.
645 inline
646 void ClusterShadingStageBase::setMaxLightIndexListSize(const UInt32 value)
648     editSField(MaxLightIndexListSizeFieldMask);
650     _sfMaxLightIndexListSize.setValue(value);
652 //! Get the value of the ClusterShadingStage::_sfMaxClusterLightCount field.
654 inline
655 UInt32 &ClusterShadingStageBase::editMaxClusterLightCount(void)
657     editSField(MaxClusterLightCountFieldMask);
659     return _sfMaxClusterLightCount.getValue();
662 //! Get the value of the ClusterShadingStage::_sfMaxClusterLightCount field.
663 inline
664       UInt32  ClusterShadingStageBase::getMaxClusterLightCount(void) const
666     return _sfMaxClusterLightCount.getValue();
669 //! Set the value of the ClusterShadingStage::_sfMaxClusterLightCount field.
670 inline
671 void ClusterShadingStageBase::setMaxClusterLightCount(const UInt32 value)
673     editSField(MaxClusterLightCountFieldMask);
675     _sfMaxClusterLightCount.setValue(value);
679 #ifdef OSG_MT_CPTR_ASPECT
680 inline
681 void ClusterShadingStageBase::execSync (      ClusterShadingStageBase *pFrom,
682                                         ConstFieldMaskArg  whichField,
683                                         AspectOffsetStore &oOffsets,
684                                         ConstFieldMaskArg  syncMode,
685                                   const UInt32             uiSyncInfo)
687     Inherited::execSync(pFrom, whichField, oOffsets, syncMode, uiSyncInfo);
689     if(FieldBits::NoField != (BlockSizeFieldMask & whichField))
690         _sfBlockSize.syncWith(pFrom->_sfBlockSize);
692     if(FieldBits::NoField != (TileSizeFieldMask & whichField))
693         _sfTileSize.syncWith(pFrom->_sfTileSize);
695     if(FieldBits::NoField != (NumClusterZFieldMask & whichField))
696         _sfNumClusterZ.syncWith(pFrom->_sfNumClusterZ);
698     if(FieldBits::NoField != (NearPlaneOffsetFieldMask & whichField))
699         _sfNearPlaneOffset.syncWith(pFrom->_sfNearPlaneOffset);
701     if(FieldBits::NoField != (DispatchDataBindingPntFieldMask & whichField))
702         _sfDispatchDataBindingPnt.syncWith(pFrom->_sfDispatchDataBindingPnt);
704     if(FieldBits::NoField != (ClusterDataBindingPntFieldMask & whichField))
705         _sfClusterDataBindingPnt.syncWith(pFrom->_sfClusterDataBindingPnt);
707     if(FieldBits::NoField != (LightBindingPntFieldMask & whichField))
708         _sfLightBindingPnt.syncWith(pFrom->_sfLightBindingPnt);
710     if(FieldBits::NoField != (AffectedLightIndexListBindingPntFieldMask & whichField))
711         _sfAffectedLightIndexListBindingPnt.syncWith(pFrom->_sfAffectedLightIndexListBindingPnt);
713     if(FieldBits::NoField != (FrustumBindingPntFieldMask & whichField))
714         _sfFrustumBindingPnt.syncWith(pFrom->_sfFrustumBindingPnt);
716     if(FieldBits::NoField != (LightIndexListBindingPntFieldMask & whichField))
717         _sfLightIndexListBindingPnt.syncWith(pFrom->_sfLightIndexListBindingPnt);
719     if(FieldBits::NoField != (LightIndexCounterBindingPntFieldMask & whichField))
720         _sfLightIndexCounterBindingPnt.syncWith(pFrom->_sfLightIndexCounterBindingPnt);
722     if(FieldBits::NoField != (LightGridBindingPntFieldMask & whichField))
723         _sfLightGridBindingPnt.syncWith(pFrom->_sfLightGridBindingPnt);
725     if(FieldBits::NoField != (AffectedLightIndexListBlockNameFieldMask & whichField))
726         _sfAffectedLightIndexListBlockName.syncWith(pFrom->_sfAffectedLightIndexListBlockName);
728     if(FieldBits::NoField != (AffectedLightIndexListVariableNameFieldMask & whichField))
729         _sfAffectedLightIndexListVariableName.syncWith(pFrom->_sfAffectedLightIndexListVariableName);
731     if(FieldBits::NoField != (LightIndexListBlockNameFieldMask & whichField))
732         _sfLightIndexListBlockName.syncWith(pFrom->_sfLightIndexListBlockName);
734     if(FieldBits::NoField != (LightIndexListVariableNameFieldMask & whichField))
735         _sfLightIndexListVariableName.syncWith(pFrom->_sfLightIndexListVariableName);
737     if(FieldBits::NoField != (ClusteringDataBlockNameFieldMask & whichField))
738         _sfClusteringDataBlockName.syncWith(pFrom->_sfClusteringDataBlockName);
740     if(FieldBits::NoField != (ClusteringDataVariableNameFieldMask & whichField))
741         _sfClusteringDataVariableName.syncWith(pFrom->_sfClusteringDataVariableName);
743     if(FieldBits::NoField != (LightGridVariableNameFieldMask & whichField))
744         _sfLightGridVariableName.syncWith(pFrom->_sfLightGridVariableName);
746     if(FieldBits::NoField != (CalcFrustumsOnCPUFieldMask & whichField))
747         _sfCalcFrustumsOnCPU.syncWith(pFrom->_sfCalcFrustumsOnCPU);
749     if(FieldBits::NoField != (CullLighsOnCPUFieldMask & whichField))
750         _sfCullLighsOnCPU.syncWith(pFrom->_sfCullLighsOnCPU);
752     if(FieldBits::NoField != (DisabledFieldMask & whichField))
753         _sfDisabled.syncWith(pFrom->_sfDisabled);
755     if(FieldBits::NoField != (MaxLightIndexListSizeFieldMask & whichField))
756         _sfMaxLightIndexListSize.syncWith(pFrom->_sfMaxLightIndexListSize);
758     if(FieldBits::NoField != (MaxClusterLightCountFieldMask & whichField))
759         _sfMaxClusterLightCount.syncWith(pFrom->_sfMaxClusterLightCount);
761     if(FieldBits::NoField != (FrustNodeFieldMask & whichField))
762         _sfFrustNode.syncWith(pFrom->_sfFrustNode);
764     if(FieldBits::NoField != (FrustAlgoElementFieldMask & whichField))
765         _sfFrustAlgoElement.syncWith(pFrom->_sfFrustAlgoElement);
767     if(FieldBits::NoField != (FrustCompShaderAlgoFieldMask & whichField))
768         _sfFrustCompShaderAlgo.syncWith(pFrom->_sfFrustCompShaderAlgo);
770     if(FieldBits::NoField != (CullNodeFieldMask & whichField))
771         _sfCullNode.syncWith(pFrom->_sfCullNode);
773     if(FieldBits::NoField != (CullAlgoElementFieldMask & whichField))
774         _sfCullAlgoElement.syncWith(pFrom->_sfCullAlgoElement);
776     if(FieldBits::NoField != (CullCompShaderAlgoFieldMask & whichField))
777         _sfCullCompShaderAlgo.syncWith(pFrom->_sfCullCompShaderAlgo);
779     if(FieldBits::NoField != (MultiLightChunkFieldMask & whichField))
780         _sfMultiLightChunk.syncWith(pFrom->_sfMultiLightChunk);
782     if(FieldBits::NoField != (ShaderProgChunkFieldMask & whichField))
783         _sfShaderProgChunk.syncWith(pFrom->_sfShaderProgChunk);
785 #endif
788 inline
789 const Char8 *ClusterShadingStageBase::getClassname(void)
791     return "ClusterShadingStage";
793 OSG_GEN_CONTAINERPTR(ClusterShadingStage);
795 OSG_END_NAMESPACE