VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVirtualProgramDepthOnlyCallback.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <osgEarth/VirtualProgram>
15 
16 namespace makVrv
17 {
18 
21  class DT_DLL_VRVOSG DtVirtualProgramDepthOnlyCallback : public osgEarth::ShaderComp::AcceptCallback
22  {
23  public:
24  DtVirtualProgramDepthOnlyCallback(bool depthOnly);
25  // implement this to accept or reject based on the state
26  virtual bool operator()(const osg::State& state);
27  protected:
29 
30  static std::string myDepthRenderMarker;
31  private:
33  };
34 
35 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)