VR-Forces Development_Version 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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)