VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtReverseDepthBufferDrawable.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2020 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
6 #pragma once
7 
11 
14 
16 
18 
19 #include <string>
20 
21 namespace osg
22 {
23  class RenderInfo;
24 }
25 
26 namespace makVrv
27 {
28  class DtDe;
29  class DtGlProgram;
30 
31 
34 
36  template <>
37  inline const char* creatorTypeName<DtReverseDepthBufferDrawable>(void) { return "DtReverseDepthBufferDrawableCreator"; }
38 
41  {
42  public:
45 
46  protected:
49 
52 
53  private:
56 
59 
62 
63  public:
64 
66  virtual void drawImplementation(osg::RenderInfo& renderInfo) const;
67 
74  //virtual void releaseGLObjects(osg::State* state = 0) const;
75  protected:
77  virtual void createProgramIfNecessary(const std::string& path, const std::string& prefixName) const;
78 
79  virtual void cleanupGpuMemory(void);
80  protected:
82  };
83 
84 
85 }
2 dimensional vector
DtVirtualBaseClassCreator< DtReverseDepthBufferDrawable > DtReverseDepthBufferDrawableCreator
Definition: DtReverseDepthBufferDrawable.h:32
A convenience class to represent an OpenGL Shader Program.
Definition: DtGlProgram.h:65
class used to render reverse depth buffer during the post processor camera draw
Definition: DtReverseDepthBufferDrawable.h:40
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
Definition: DtPostProcessorDrawable.h:24
const char * creatorTypeName< DtReverseDepthBufferDrawable >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtReverseDepthBufferDrawable.h:37
DtGlProgram * myMutableProgram
Definition: DtReverseDepthBufferDrawable.h:81
#define DT_DLL_VRVPOSTPROCESSOR
Definition: vrvPostProcessor.h:19
This file contains the declaration of the class DtPostProcessorDrawable which is used for rendering p...
Contains DLL export macros.
friend DtReverseDepthBufferDrawableCreator
friended, to access constructor above
Definition: DtReverseDepthBufferDrawable.h:51
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

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)