VR-Forces 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) 2022 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:
62 
63  protected:
64  static const char* theMaxNumInstancesUniformName;
65  static const char* theModelViewMatrixUniformName;
66  static const char* theProjectionMatrixUniformName;
67  static const char* theViewportSizeUniformName;
69  static const char* theDistScaleUniformName;
70  static const char* theFadeParametersUniformName;
71  static const char* theFrustumName;
72  static const char* theLightSourceStateIdName;
74  static const char* theGeomSpecIndexToCommandName;
75  static const char* theGPUPerGeomInstancesName;
76  static const char* theIsDaylightName;
78 
79  static const char* theLodVisibleBuffer;
80  static const char* theDofTransformBuffer;
81  static const char* theSwitchStateBuffer;
82  static const char* thePerInstanceDataBuffer;
83 
84  };
85 }
static const char * theFrustumName
Definition: DtIndirectCullProgramConstants.h:71
static const char * theSwitchStateBuffer
Definition: DtIndirectCullProgramConstants.h:81
static const char * theProjectionMatrixUniformName
Definition: DtIndirectCullProgramConstants.h:66
static const char * theGPUPerGeomInstancesName
Definition: DtIndirectCullProgramConstants.h:75
int myMaxNumInstancesIndex
Definition: DtIndirectCullProgramConstants.h:42
static const char * theZoomMagOrthoDistanceOrthoCullUniformName
Definition: DtIndirectCullProgramConstants.h:68
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:70
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:82
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:80
int myGeomSpecIndexToCommandIndex
Definition: DtIndirectCullProgramConstants.h:52
static const char * theMaxNumInstancesUniformName
Definition: DtIndirectCullProgramConstants.h:64
static const char * theIsDaylightName
Definition: DtIndirectCullProgramConstants.h:76
static const char * theViewportSizeUniformName
Definition: DtIndirectCullProgramConstants.h:67
int mySwitchStateBufferIndex
Definition: DtIndirectCullProgramConstants.h:57
int myDebugFlashIndirectLightSourceIndex
Definition: DtIndirectCullProgramConstants.h:51
A convenience class to represent an OpenGL Shader Program.
Definition: DtGlProgram.h:66
DtIndirectCullProgramConstants & operator=(const DtIndirectCullProgramConstants &rhs)=delete
not allowed
static const char * theLodVisibleBuffer
Definition: DtIndirectCullProgramConstants.h:79
int myZoomMagnificationIndex
Definition: DtIndirectCullProgramConstants.h:45
int myGPUGeometrySpecificationsBufferSize
Definition: DtIndirectCullProgramConstants.h:54
static const char * theGeomSpecIndexToCommandName
Definition: DtIndirectCullProgramConstants.h:74
int myDistScaleIndex
Definition: DtIndirectCullProgramConstants.h:47
static const char * theDebugFlashIndirectLightSourceName
Definition: DtIndirectCullProgramConstants.h:73
int myGPUPerGeomInstancesIndex
Definition: DtIndirectCullProgramConstants.h:53
static const char * theDistScaleUniformName
Definition: DtIndirectCullProgramConstants.h:69
static const char * theGPUGeometrySpecificationsBufferSize
Definition: DtIndirectCullProgramConstants.h:77
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:65
Contains makVrv::DtProgramConstants class.
int myIsShadowPassIndex
Definition: DtIndirectCullProgramConstants.h:61
int myModelViewMatrixIndex
Definition: DtIndirectCullProgramConstants.h:43
static const char * theLightSourceStateIdName
Definition: DtIndirectCullProgramConstants.h:72
int myLightSourceStateIndex
Definition: DtIndirectCullProgramConstants.h:50
Contains DLL export macros.
int myViewPortIndex
Definition: DtIndirectCullProgramConstants.h:46

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)