VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPostProcessorDrawable.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 
12 
13 #include <osg/Drawable>
14 
15 // Get proper local export symbol
17 
18 namespace makVrv
19 {
20  class DtDe;
21 
23  class DT_DLL_VRVPOSTPROCESSOR DtPostProcessorDrawable : public osg::Drawable
24  {
25  public:
27 
28  DtPostProcessorDrawable(const DtPostProcessorDrawable& orig, const osg::CopyOp& op);
29 
30  virtual ~DtPostProcessorDrawable();
31  private:
34 
37 
40 
42  public:
44  virtual void drawTexturedQuad(bool drawOnly = false) const;
45 
47  virtual void beginTexturedQuad() const;
48 
50  virtual void endTexturedQuad() const;
51 
54  virtual std::string preprocessorDefinesString(void) const;
55 
57  virtual unsigned int createProgram(const std::string& path, const std::string& prefixName, const std::string& preprocessor="") const;
58 
59  virtual void destroyProgram(unsigned int program) const;
60  protected:
62  void setupGeometry() const;
63  protected:
65  mutable unsigned int myMutableVbo;
66  };
67 }
unsigned int myMutableVbo
Definition: DtPostProcessorDrawable.h:65
DtDe & myDe
Definition: DtPostProcessorDrawable.h:64
Definition: DtPostProcessorDrawable.h:23
#define DT_DLL_VRVPOSTPROCESSOR
Definition: vrvPostProcessor.h:19
Contains DLL export macros.
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)