VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCellGeoSpecificIndirectGeo.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
17 
18 #define DTCELLGEOSPECIFICINDIRECTGEO_CONSTRUCT_DESTRUCT_DEBUG 0
19 
20 namespace makVrv
21 {
22  class DtIndirectFadeParameters;
23 
27  {
28  public:
31  , bool includeIntersectionGeoInNodePath
32  , bool terrainPatch
33  , const DtIndirectFadeParameters& fadeParameters);
34 
37  private:
43  DtCellGeoSpecificIndirectGeo& operator=(const DtCellGeoSpecificIndirectGeo& rhs) = delete;
44 
45  public:
51  virtual int addInstance(DtCellIndirectGeoInstance& instance // non-const. model id, model node will be set here
52  , const std::string& modelName
53  , bool cullFaceEnabled
54  );
55 
63  virtual int addInstance(DtCellIndirectGeoInstance& instance // non-const. model id, model node will be set here
64  , const osg::Node* modelNode
65  , const std::string& modelNameSuffix
66  , bool cullFaceEnabled
67  , const DtIndirectPolygonOffset& polygonOffset
68  );
69 
70  protected:
71 #if DTCELLGEOSPECIFICINDIRECTGEO_CONSTRUCT_DESTRUCT_DEBUG
72  static std::atomic<int> myRefCount;
73 #endif
74 
75  };
76 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Helper structure for adding instances to DtCellIndirectGeo.
Definition: DtCellIndirectGeo.h:35
Helper for managing indirect geometry, its intersection group and registrar corresponding to a &#39;tile ...
Definition: DtCellIndirectGeo.h:68
Contains makVrv::DtIndirectDofManager class.
struct for holding the fade parameters used by the indirect rendering cull compute shader ...
Definition: DtIndirectFadeParameters.h:17
Helper for managing indirect geometry, its intersection group and registrar corresponding to a &#39;tile ...
Definition: DtCellGeoSpecificIndirectGeo.h:26
Contains makVrv::DtIndirectLodManager class.
Contains the DtCellIndirectGeo class declaration.
non virtual container class for defining a polygon offset state
Definition: DtIndirectPolygonOffset.h:18
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains the DtIndirectPolygonOffset class declaration.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)