VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLightingComponentShaderConstants.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 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
16 
17 namespace osg
18 {
19  class State;
20 }
21 
22 namespace makVrv
23 {
24  class DtGlProgram;
25  class DtGlBuffer;
26  class DtDe;
27 
29  {
30  public:
33 
36 
39  public:
41  virtual void fillBufferWithCurrentValues(DtGlBuffer* shaderBufferUbo, const osg::State* state);
42 
44  virtual void init(const DtGlProgram* program) override;
45  protected:
47  virtual void reset(void) override;
48 
49  public:
50  DtValueAndLoc<int> ufrm_debug_value = { 0, -1 };
51 
56 
57  DtValueAndLoc<float> vrv_lightPointScale = { 1, -1 };
58  DtValueAndLoc<float> vrv_dynamicLightScale = { 1, -1 };
59  DtValueAndLoc<float> vrv_emissiveTextureScale = { 1, -1 };
60  DtValueAndLoc<float> vrv_specularScale = { 1, -1 };
61  DtValueAndLoc<float> vrv_shininessScale = { 1, -1 };
62 
63  DtValueAndLoc<float> vrv_uGlobalEmissionScale = { 0, -1 };
64 
69  DtValueAndLoc<float> vrv_fog_density = { 1, -1 };
70  protected:
72  };
73 }
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
DtValueAndLoc< DtVector4< float > > vrv_height_fog_plane
Definition: DtLightingComponentShaderConstants.h:66
DtValueAndLoc< DtVector2< unsigned int > > vrv_light_grid_tile_log2
Definition: DtLightingComponentShaderConstants.h:53
DtValueAndLoc< int > vrv_light_per_view_offset
Definition: DtLightingComponentShaderConstants.h:55
Definition: DtLightingComponentShaderConstants.h:28
2 dimensional vector
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtValueAndLoc< DtVector4< float > > vrv_fog_color
Definition: DtLightingComponentShaderConstants.h:65
DtValueAndLoc< DtVector2< int > > vrv_viewport_size
Definition: DtLightingComponentShaderConstants.h:52
interface class for managing program constants
Definition: DtProgramConstants.h:70
DtValueAndLoc< DtVector2< unsigned int > > vrv_light_grid_max_dim
Definition: DtLightingComponentShaderConstants.h:54
A convenience class to represent an OpenGL Shader Program.
Definition: DtGlProgram.h:65
DtValueAndLoc< DtVector4< float > > vrv_height_fog_color
Definition: DtLightingComponentShaderConstants.h:68
Contains makVrv::DtProgramConstants class.
A generic OpenGL buffer. This can be: -&gt; a vertex buffer -&gt; an index buffer -&gt; a shader storage buffe...
Definition: DtGlBuffer.h:29
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtDe & myDe
Definition: DtLightingComponentShaderConstants.h:71
DtValueAndLoc< DtVector4< float > > vrv_height_fog_params
Definition: DtLightingComponentShaderConstants.h:67

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)