VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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  private:
31  };
32 
33 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)