VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIndirectDofProgramConstants.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
15 
16 namespace makVrv
17 {
18  class DtDe;
19 
22  {
23  public:
26 
29 
30  private:
33 
35  DtIndirectDofProgramConstants& operator=(const DtIndirectDofProgramConstants& rhs) = delete;
36 
37  public:
39  virtual void init(const DtGlProgram* program) override;
40 
41  protected:
43  virtual void reset(void) override;
44 
45  public:
46  // these are variable locations in the buffer object
51  protected:
54  static const char* theModelViewMatrixUniformName;
57  };
58 }
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
int myMaxNumInstancesIndex
Definition: DtIndirectDofProgramConstants.h:47
int myZoomMagnificationIndex
Definition: DtIndirectDofProgramConstants.h:49
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
interface class for managing program constants
Definition: DtProgramConstants.h:70
A convenience class to represent an OpenGL Shader Program.
Definition: DtGlProgram.h:65
static const char * theZoomMagOrthoDistanceOrthoCullUniformName
Definition: DtIndirectDofProgramConstants.h:55
static const char * theModelViewMatrixUniformName
Definition: DtIndirectDofProgramConstants.h:54
int myGlobalModelScaleFactorIndex
Definition: DtIndirectDofProgramConstants.h:50
static const char * theDofManagerMaxNumInstancesUniformName
these are the variable names in the buffer object
Definition: DtIndirectDofProgramConstants.h:53
Contains makVrv::DtProgramConstants class.
class for wrapping, initializing, managing dof shader constants
Definition: DtIndirectDofProgramConstants.h:21
static const char * theGlobalModelScaleFactorUniformName
Definition: DtIndirectDofProgramConstants.h:56
Contains DLL export macros.
int myModelViewMatrixIndex
Definition: DtIndirectDofProgramConstants.h:48

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)