VR-Forces 4.10 Class Documentation
 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:
60 
61  protected:
62  static const char* theMaxNumInstancesUniformName;
63  static const char* theModelViewMatrixUniformName;
64  static const char* theProjectionMatrixUniformName;
65  static const char* theViewportSizeUniformName;
67  static const char* theDistScaleUniformName;
68  static const char* theFadeParametersUniformName;
69  static const char* theFrustumName;
70  static const char* theLightSourceStateIdName;
72  static const char* theGeomSpecIndexToCommandName;
73  static const char* theGPUPerGeomInstancesName;
74  static const char* theIsDaylightName;
76 
77  static const char* theLodVisibleBuffer;
78  static const char* theDofTransformBuffer;
79  static const char* theSwitchStateBuffer;
80  static const char* thePerInstanceDataBuffer;
81 
82  };
83 }
static const char * theFrustumName
Definition: DtIndirectCullProgramConstants.h:69
static const char * theSwitchStateBuffer
Definition: DtIndirectCullProgramConstants.h:79
static const char * theProjectionMatrixUniformName
Definition: DtIndirectCullProgramConstants.h:64
static const char * theGPUPerGeomInstancesName
Definition: DtIndirectCullProgramConstants.h:73
int myMaxNumInstancesIndex
Definition: DtIndirectCullProgramConstants.h:42
static const char * theZoomMagOrthoDistanceOrthoCullUniformName
Definition: DtIndirectCullProgramConstants.h:66
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:68
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:80
int myPerInstanceDataBufferIndex
Definition: DtIndirectCullProgramConstants.h:58
interface class for managing program constants
Definition: DtProgramConstants.h:17
int myFadeParametersIndex
Definition: DtIndirectCullProgramConstants.h:48
static const char * theDofTransformBuffer
Definition: DtIndirectCullProgramConstants.h:78
int myGeomSpecIndexToCommandIndex
Definition: DtIndirectCullProgramConstants.h:52
static const char * theMaxNumInstancesUniformName
Definition: DtIndirectCullProgramConstants.h:62
static const char * theIsDaylightName
Definition: DtIndirectCullProgramConstants.h:74
static const char * theViewportSizeUniformName
Definition: DtIndirectCullProgramConstants.h:65
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:77
int myZoomMagnificationIndex
Definition: DtIndirectCullProgramConstants.h:45
int myGPUGeometrySpecificationsBufferSize
Definition: DtIndirectCullProgramConstants.h:54
static const char * theGeomSpecIndexToCommandName
Definition: DtIndirectCullProgramConstants.h:72
int myDistScaleIndex
Definition: DtIndirectCullProgramConstants.h:47
static const char * theDebugFlashIndirectLightSourceName
Definition: DtIndirectCullProgramConstants.h:71
int myGPUPerGeomInstancesIndex
Definition: DtIndirectCullProgramConstants.h:53
static const char * theDistScaleUniformName
Definition: DtIndirectCullProgramConstants.h:67
static const char * theGPUGeometrySpecificationsBufferSize
Definition: DtIndirectCullProgramConstants.h:75
int myIsDaylightIndex
Definition: DtIndirectCullProgramConstants.h:59
int myLodVisibleBufferIndex
Definition: DtIndirectCullProgramConstants.h:55
static const char * theModelViewMatrixUniformName
Definition: DtIndirectCullProgramConstants.h:63
Contains makVrv::DtProgramConstants class.
int myModelViewMatrixIndex
Definition: DtIndirectCullProgramConstants.h:43
static const char * theLightSourceStateIdName
Definition: DtIndirectCullProgramConstants.h:70
int myLightSourceStateIndex
Definition: DtIndirectCullProgramConstants.h:50
Contains DLL export macros.
int myViewPortIndex
Definition: DtIndirectCullProgramConstants.h:46

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)