VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvOsg
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
:
28
virtual
~DtVirtualProgramDepthOnlyCallback
() { }
29
30
static
std::string
myDepthRenderMarker
;
31
private
:
32
bool
myDepthOnly
;
33
};
34
35
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)