VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtInstanceLpProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
14 #include <vrvOsg/DtInstanceState.h>
15 
16 namespace osg
17 {
18  class Camera;
19 }
20 
21 namespace makVrv
22 {
23  class DtDe;
24 
25  class DtInstanceManager;
26 
31  {
32  public:
33 
35  DtInstanceLpProcessor(DtInstanceManager& instanceManager, DtDe& de);
36 
38  virtual ~DtInstanceLpProcessor();
39 
41  virtual void processRange( unsigned int instanceOffset, unsigned int instanceCount);
42 
43  protected:
44 
46  virtual void updateLpRange( unsigned int instanceOffset, unsigned int instanceCount, osg::Camera* camera );
47 
50  virtual void updateLightPoints( const ArrayRange& drawableRange, int instanceIx, osg::Camera* camera );
51 
54  virtual void slot_reloadShader(void);
55 
56  protected:
57 
60 
63  };
64 }
Contains makVrv::DtInstanceProcessor declaration.
Contains makVrv::DtInstanceState declaration.
DtDe & myDe
Definition: DtInstanceLpProcessor.h:61
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Specifies a range of drawables in the drawable array.
Definition: DtInstanceState.h:20
Manages data for instanced rendering system and kicks off DtInstanceProcessors to update instance sta...
Definition: DtInstanceManager.h:75
DtInstanceManager & myInstanceManager
Instance manager object for this processor.
Definition: DtInstanceLpProcessor.h:59
Instance post cull processor for checking lightpoint node sectors and performing small feature cullin...
Definition: DtInstanceLpProcessor.h:30
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
double myLastShaderReload
Definition: DtInstanceLpProcessor.h:62
Interface for a class that implements a per-frame instance processing step.
Definition: DtInstanceProcessor.h:21

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)