VR-Forces 4.8 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
vrvPostProcessor
DtReverseDepthBufferDrawable.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2020 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
6
#pragma once
7
11
12
#include <
vrvPostProcessor/vrvPostProcessor.h
>
13
#include <
vrvPostProcessor/DtPostProcessorDrawable.h
>
14
15
#include <
vrvGraphicsUtils/DtVector2.h
>
16
17
#include <
vrvCore/DtVirtualBaseClassCreator.h
>
18
19
#include <string>
20
21
namespace
osg
22
{
23
class
RenderInfo;
24
}
25
26
namespace
makVrv
27
{
28
class
DtDe;
29
30
31
class
DtReverseDepthBufferDrawable
;
32
typedef
DtVirtualBaseClassCreator<DtReverseDepthBufferDrawable>
DtReverseDepthBufferDrawableCreator
;
33
35
template
<>
36
inline
const
char
*
creatorTypeName<DtReverseDepthBufferDrawable>
(void) {
return
"DtReverseDepthBufferDrawableCreator"
; }
37
39
class
DT_DLL_VRVPOSTPROCESSOR
DtReverseDepthBufferDrawable
:
public
DtPostProcessorDrawable
40
{
41
public
:
43
virtual
~
DtReverseDepthBufferDrawable
();
44
45
protected
:
47
DtReverseDepthBufferDrawable
(
DtDe
&de);
48
50
friend
DtReverseDepthBufferDrawableCreator
;
51
52
private
:
54
DtReverseDepthBufferDrawable
();
55
57
DtReverseDepthBufferDrawable
(
const
DtReverseDepthBufferDrawable
&);
58
60
DtReverseDepthBufferDrawable
& operator=(
const
DtReverseDepthBufferDrawable
&);
61
62
public
:
63
65
virtual
void
drawImplementation(osg::RenderInfo& renderInfo)
const
;
66
73
//virtual void releaseGLObjects(osg::State* state = 0) const;
74
protected
:
76
virtual
void
createProgramIfNecessary(
const
std::string& path,
const
std::string& prefixName)
const
;
77
78
virtual
void
cleanupGpuMemory(
void
);
79
protected
:
80
mutable
unsigned
int
myMutableProgram
;
81
};
82
83
84
}
DtVector2.h
2 dimensional vector
makVrv::DtReverseDepthBufferDrawable::myMutableProgram
unsigned int myMutableProgram
Definition:
DtReverseDepthBufferDrawable.h:80
makVrv::DtReverseDepthBufferDrawableCreator
DtVirtualBaseClassCreator< DtReverseDepthBufferDrawable > DtReverseDepthBufferDrawableCreator
Definition:
DtReverseDepthBufferDrawable.h:31
makVrv::DtReverseDepthBufferDrawable
class used to render reverse depth buffer during the post processor camera draw
Definition:
DtReverseDepthBufferDrawable.h:39
makVrv::DtVirtualBaseClassCreator
Definition:
DtVirtualBaseClassCreator.h:14
makVrv::DtPostProcessorDrawable
Definition:
DtPostProcessorDrawable.h:23
makVrv::creatorTypeName< DtReverseDepthBufferDrawable >
const char * creatorTypeName< DtReverseDepthBufferDrawable >(void)
creator class
Definition:
DtReverseDepthBufferDrawable.h:36
DT_DLL_VRVPOSTPROCESSOR
#define DT_DLL_VRVPOSTPROCESSOR
Definition:
vrvPostProcessor.h:19
DtVirtualBaseClassCreator.h
DtPostProcessorDrawable.h
This file contains the declaration of the class DtPostProcessorDrawable which is used for rendering p...
vrvPostProcessor.h
Contains DLL export macros.
makVrv::DtReverseDepthBufferDrawable::DtReverseDepthBufferDrawableCreator
friend DtReverseDepthBufferDrawableCreator
friended, to access constructor above
Definition:
DtReverseDepthBufferDrawable.h:50
makVrv::DtDe
The DtDe is the core component of any VR-Vantage application.
Definition:
DtDe.h:69
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
)