VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtInstanceLodProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvOsg/vrvOsg.h>
13 #include <vrvOsg/DtInstanceState.h>
14 
15 namespace makVrv
16 {
17  class DtInstanceManager;
18 
22  {
23  public:
25  DtInstanceLodProcessor(DtInstanceManager& instanceManager);
26 
28  virtual ~DtInstanceLodProcessor();
29 
31  virtual void processRange(unsigned int instanceStride, unsigned int instanceOffset, unsigned int instanceCount);
32 
33  protected:
34 
36  void updateLodRange(unsigned int instanceStride, unsigned int instanceOffset, unsigned int instanceCount);
37 
39  void updateLods(float dist, unsigned int drawableOffset, const ArrayRange& lodRange);
40 
41  protected:
43  };
44 }

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)