VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes | Private Attributes
makVrv::DtVirtualProgramDepthOnlyCallback Class Reference

The DtVirtualProgramDepthOnlyCallback class implements a depth only accept callback.

Inheritance diagram for makVrv::DtVirtualProgramDepthOnlyCallback:
Inheritance graph
[legend]

Public Member Functions

 DtVirtualProgramDepthOnlyCallback (bool depthOnly)
 
virtual bool operator() (const osg::State &state)
 

Static Public Member Functions

static bool isShadowPass (const osg::State &state)
 

Protected Member Functions

virtual ~DtVirtualProgramDepthOnlyCallback ()
 

Static Protected Attributes

static std::string myDepthRenderMarker
 

Private Attributes

bool myDepthOnly
 

Constructor & Destructor Documentation

makVrv::DtVirtualProgramDepthOnlyCallback::DtVirtualProgramDepthOnlyCallback ( bool  depthOnly)

constructor

virtual makVrv::DtVirtualProgramDepthOnlyCallback::~DtVirtualProgramDepthOnlyCallback ( )
protectedvirtual

destructor

Member Function Documentation

virtual bool makVrv::DtVirtualProgramDepthOnlyCallback::operator() ( const osg::State &  state)
virtual

implement this to accept or reject based on the state false if its a shadow pass

static bool makVrv::DtVirtualProgramDepthOnlyCallback::isShadowPass ( const osg::State &  state)
static

utility functions

Member Data Documentation

std::string makVrv::DtVirtualProgramDepthOnlyCallback::myDepthRenderMarker
staticprotected
bool makVrv::DtVirtualProgramDepthOnlyCallback::myDepthOnly
private

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)