VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtInstanceSwitchProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 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 makVrv
17 {
18  class DtInstanceManager;
22  {
23  public:
25 
26  virtual ~DtInstanceSwitchProcessor();
27 
28  virtual void processRange(unsigned int instanceOffset, unsigned int instanceCount);
29 
30  protected:
31 
32  void updateSwitchRange(unsigned int instanceOffset, unsigned int instanceCount);
33 
34  void updateSwitches(const ArrayRange& switchRange, unsigned int drawableOffset);
35 
36  protected:
38  };
39 }
Contains makVrv::DtInstanceProcessor declaration.
Contains makVrv::DtInstanceState declaration.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtInstanceManager & myInstanceManager
Definition: DtInstanceSwitchProcessor.h:37
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
updates all the switches
Definition: DtInstanceSwitchProcessor.h:21
Contains DLL export macros.
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)