VR-Forces 4.8 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) 2018 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 
22  {
23  public:
25  DtVirtualProgramDepthOnlyCallback(bool depthOnly);
26 
29  virtual bool operator()(const osg::State& state);
30 
32  static bool isShadowPass(const osg::State& state);
33 
34  protected:
37 
38 
39  static std::string myDepthRenderMarker;
40  private:
42  };
43 
44 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
static std::string myDepthRenderMarker
Definition: DtVirtualProgramDepthOnlyCallback.h:39
Contains DLL export macros.
bool myDepthOnly
Definition: DtVirtualProgramDepthOnlyCallback.h:41
The DtVirtualProgramDepthOnlyCallback class implements a depth only accept callback.
Definition: DtVirtualProgramDepthOnlyCallback.h:21

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)