VR-Forces 4.8 Class Documentation
 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 
30 
33 
35  template <>
36  inline const char* creatorTypeName<DtReverseDepthBufferDrawable>(void) { return "DtReverseDepthBufferDrawableCreator"; }
37 
40  {
41  public:
44 
45  protected:
48 
51 
52  private:
55 
58 
61 
62  public:
63 
65  virtual void drawImplementation(osg::RenderInfo& renderInfo) const;
66 
73  //virtual void releaseGLObjects(osg::State* state = 0) const;
74  protected:
76  virtual void createProgramIfNecessary(const std::string& path, const std::string& prefixName) const;
77 
78  virtual void cleanupGpuMemory(void);
79  protected:
80  mutable unsigned int myMutableProgram;
81  };
82 
83 
84 }
2 dimensional vector
unsigned int myMutableProgram
Definition: DtReverseDepthBufferDrawable.h:80
DtVirtualBaseClassCreator< DtReverseDepthBufferDrawable > DtReverseDepthBufferDrawableCreator
Definition: DtReverseDepthBufferDrawable.h:31
class used to render reverse depth buffer during the post processor camera draw
Definition: DtReverseDepthBufferDrawable.h:39
Definition: DtVirtualBaseClassCreator.h:14
Definition: DtPostProcessorDrawable.h:23
const char * creatorTypeName< DtReverseDepthBufferDrawable >(void)
creator class
Definition: DtReverseDepthBufferDrawable.h:36
#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:50
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)