VR-Forces 5.0.3 Developer's Guide
 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  class DtGlProgram;
22 
24  class DT_DLL_VRVPOSTPROCESSOR DtPostProcessorDrawable : public osg::Drawable
25  {
26  public:
28 
29  DtPostProcessorDrawable(const DtPostProcessorDrawable& orig, const osg::CopyOp& op);
30 
31  virtual ~DtPostProcessorDrawable();
32  private:
35 
38 
41 
43  public:
45  virtual void drawTexturedQuad(bool drawOnly = false) const;
46 
48  virtual void beginTexturedQuad() const;
49 
51  virtual void endTexturedQuad() const;
52 
55  virtual std::string preprocessorDefinesString(void) const;
56 
58  virtual DtGlProgram* createProgram(const std::string& path, const std::string& prefixName, const std::string& preprocessor="") const;
59 
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
A convenience class to represent an OpenGL Shader Program.
Definition: DtGlProgram.h:65
Definition: DtPostProcessorDrawable.h:24
#define DT_DLL_VRVPOSTPROCESSOR
Definition: vrvPostProcessor.h:19
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

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)