VR-Forces 4.6.1 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 instanceStride, unsigned int instanceOffset, unsigned int instanceCount);
42 
43  protected:
44 
46  virtual void updateLpRange( unsigned int instanceStride, unsigned int instanceOffset, unsigned int instanceCount, osg::Camera* camera );
47 
50  virtual void updateLightPoints( const ArrayRange& drawableRange, unsigned int drawableOffset, int instanceIx, osg::Camera* camera );
51 
54  virtual void slot_reloadShader(void);
55 
56  protected:
57 
60 
63  };
64 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)