VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIndirectCullProgramConstants.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #include <vrvOsg/vrvOsg.h>
11 
13 
14 namespace makVrv
15 {
18  {
19  public:
22 
25 
26  private:
29 
32 
33  public:
35  virtual void init(const DtGlProgram* program) override;
36 
37  protected:
39  virtual void reset(void) override;
40 
41  public:
61 
62  protected:
63  static const char* theMaxNumInstancesUniformName;
64  static const char* theModelViewMatrixUniformName;
65  static const char* theProjectionMatrixUniformName;
66  static const char* theViewportSizeUniformName;
68  static const char* theDistScaleUniformName;
69  static const char* theFadeParametersUniformName;
70  static const char* theFrustumName;
71  static const char* theLightSourceStateIdName;
73  static const char* theGeomSpecIndexToCommandName;
74  static const char* theGPUPerGeomInstancesName;
75  static const char* theIsDaylightName;
77 
78  static const char* theLodVisibleBuffer;
79  static const char* theDofTransformBuffer;
80  static const char* theSwitchStateBuffer;
81  static const char* thePerInstanceDataBuffer;
82 
83  };
84 }
static const char * theFrustumName
Definition: DtIndirectCullProgramConstants.h:70
static const char * theSwitchStateBuffer
Definition: DtIndirectCullProgramConstants.h:80
static const char * theProjectionMatrixUniformName
Definition: DtIndirectCullProgramConstants.h:65
static const char * theGPUPerGeomInstancesName
Definition: DtIndirectCullProgramConstants.h:74
int myMaxNumInstancesIndex
Definition: DtIndirectCullProgramConstants.h:42
static const char * theZoomMagOrthoDistanceOrthoCullUniformName
Definition: DtIndirectCullProgramConstants.h:67
int myProjectionMatrixIndex
Definition: DtIndirectCullProgramConstants.h:44
virtual void reset(void) override
reset to invalid value
Helper class to manage program constants of the cull program.
Definition: DtIndirectCullProgramConstants.h:17
static const char * theFadeParametersUniformName
Definition: DtIndirectCullProgramConstants.h:69
int myFrustumIndex
Definition: DtIndirectCullProgramConstants.h:49
virtual void init(const DtGlProgram *program) override
initialize
int myDofTransformBufferIndex
Definition: DtIndirectCullProgramConstants.h:56
static const char * thePerInstanceDataBuffer
Definition: DtIndirectCullProgramConstants.h:81
int myPerInstanceDataBufferIndex
Definition: DtIndirectCullProgramConstants.h:58
interface class for managing program constants
Definition: DtProgramConstants.h:70
int myFadeParametersIndex
Definition: DtIndirectCullProgramConstants.h:48
static const char * theDofTransformBuffer
Definition: DtIndirectCullProgramConstants.h:79
int myGeomSpecIndexToCommandIndex
Definition: DtIndirectCullProgramConstants.h:52
static const char * theMaxNumInstancesUniformName
Definition: DtIndirectCullProgramConstants.h:63
static const char * theIsDaylightName
Definition: DtIndirectCullProgramConstants.h:75
static const char * theViewportSizeUniformName
Definition: DtIndirectCullProgramConstants.h:66
int mySwitchStateBufferIndex
Definition: DtIndirectCullProgramConstants.h:57
int myDebugFlashIndirectLightSourceIndex
Definition: DtIndirectCullProgramConstants.h:51
A convenience class to represent an OpenGL Shader Program.
Definition: DtGlProgram.h:65
DtIndirectCullProgramConstants & operator=(const DtIndirectCullProgramConstants &rhs)=delete
not allowed
static const char * theLodVisibleBuffer
Definition: DtIndirectCullProgramConstants.h:78
int myZoomMagnificationIndex
Definition: DtIndirectCullProgramConstants.h:45
int myGPUGeometrySpecificationsBufferSize
Definition: DtIndirectCullProgramConstants.h:54
static const char * theGeomSpecIndexToCommandName
Definition: DtIndirectCullProgramConstants.h:73
int myDistScaleIndex
Definition: DtIndirectCullProgramConstants.h:47
static const char * theDebugFlashIndirectLightSourceName
Definition: DtIndirectCullProgramConstants.h:72
int myGPUPerGeomInstancesIndex
Definition: DtIndirectCullProgramConstants.h:53
static const char * theDistScaleUniformName
Definition: DtIndirectCullProgramConstants.h:68
static const char * theGPUGeometrySpecificationsBufferSize
Definition: DtIndirectCullProgramConstants.h:76
int myaltitude3d_StaticOceanLodRange_DynamicOcean
Definition: DtIndirectCullProgramConstants.h:60
int myIsDaylightIndex
Definition: DtIndirectCullProgramConstants.h:59
int myLodVisibleBufferIndex
Definition: DtIndirectCullProgramConstants.h:55
static const char * theModelViewMatrixUniformName
Definition: DtIndirectCullProgramConstants.h:64
Contains makVrv::DtProgramConstants class.
int myModelViewMatrixIndex
Definition: DtIndirectCullProgramConstants.h:43
static const char * theLightSourceStateIdName
Definition: DtIndirectCullProgramConstants.h:71
int myLightSourceStateIndex
Definition: DtIndirectCullProgramConstants.h:50
Contains DLL export macros.
int myViewPortIndex
Definition: DtIndirectCullProgramConstants.h:46

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)