Public Member Functions |
| | SdsmDrawCallback (bool bindFbo, GLenum colorAttachment, unsigned int numPipelines, unsigned int numPartitions, unsigned int width, unsigned int height) |
| | CTOR.
|
| | ~SdsmDrawCallback () |
| | DTOR.
|
| virtual void | operator() (osg::RenderInfo &renderInfo) const |
| | Callback Method to setup framebuffer object and pixel buffer objects for readback of the sampled depth from the gpu.
|
| float | minDepth () const |
| | Returns the minimum non-linear depth value of obtained from the oldest pixel buffer object.
|
| float | maxDepth () const |
| | Returns the maximum non-linear depth value of obtained from the oldest pixel buffer object.
|
| float | minDepth (unsigned int splitIndex) const |
| | Returns the minimum non-linear depth value per split of obtained from the oldest pixel buffer object.
|
| float | maxDepth (unsigned int splitIndex) const |
| | Returns the maximum non-linear depth value per split of obtained from the oldest pixel buffer object.
|
| osg::Vec2 | partition (unsigned int splitIndex) const |
| | Returns the minimum and maximum depth value per split obtained from non-linear depth value of obtained from the oldest pixel buffer object.
|
| bool | isSDSMDepthAvailable () const |
| | Returns true if SDSM depth is already sampled and available from at least one pixel buffer object in the pipeline.
|
Constructor & Destructor Documentation
| makVrv::SdsmDrawCallback::SdsmDrawCallback |
( |
bool |
bindFbo, |
|
|
GLenum |
colorAttachment, |
|
|
unsigned int |
numPipelines, |
|
|
unsigned int |
numPartitions, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height |
|
) |
| |
| makVrv::SdsmDrawCallback::~SdsmDrawCallback |
( |
| ) |
|
Member Function Documentation
| virtual void makVrv::SdsmDrawCallback::operator() |
( |
osg::RenderInfo & |
renderInfo | ) |
const |
|
virtual |
Callback Method to setup framebuffer object and pixel buffer objects for readback of the sampled depth from the gpu.
| float makVrv::SdsmDrawCallback::minDepth |
( |
| ) |
const |
Returns the minimum non-linear depth value of obtained from the oldest pixel buffer object.
| float makVrv::SdsmDrawCallback::maxDepth |
( |
| ) |
const |
Returns the maximum non-linear depth value of obtained from the oldest pixel buffer object.
| float makVrv::SdsmDrawCallback::minDepth |
( |
unsigned int |
splitIndex | ) |
const |
Returns the minimum non-linear depth value per split of obtained from the oldest pixel buffer object.
| float makVrv::SdsmDrawCallback::maxDepth |
( |
unsigned int |
splitIndex | ) |
const |
Returns the maximum non-linear depth value per split of obtained from the oldest pixel buffer object.
| osg::Vec2 makVrv::SdsmDrawCallback::partition |
( |
unsigned int |
splitIndex | ) |
const |
Returns the minimum and maximum depth value per split obtained from non-linear depth value of obtained from the oldest pixel buffer object.
| bool makVrv::SdsmDrawCallback::isSDSMDepthAvailable |
( |
| ) |
const |
Returns true if SDSM depth is already sampled and available from at least one pixel buffer object in the pipeline.
Member Data Documentation
| std::vector<osg::Vec2> makVrv::SdsmDrawCallback::myPartitions |
|
mutableprivate |
| unsigned int makVrv::SdsmDrawCallback::myFBOBufferIndex |
|
mutableprivate |
| std::vector<unsigned int> makVrv::SdsmDrawCallback::myPBOBufferIndex |
|
mutableprivate |
| unsigned int makVrv::SdsmDrawCallback::myCurrentPBOIndex |
|
mutableprivate |
| unsigned int makVrv::SdsmDrawCallback::myColorTextureIndex |
|
mutableprivate |
| unsigned int makVrv::SdsmDrawCallback::myDepthRBOBufferIndex |
|
mutableprivate |
| GLenum makVrv::SdsmDrawCallback::myColorAttachment |
|
private |
| bool makVrv::SdsmDrawCallback::myBindFbo |
|
private |
| unsigned int makVrv::SdsmDrawCallback::myWidth |
|
private |
| unsigned int makVrv::SdsmDrawCallback::myHeight |
|
private |
| float makVrv::SdsmDrawCallback::myMinDepth |
|
mutableprivate |
| float makVrv::SdsmDrawCallback::myMaxDepth |
|
mutableprivate |
| float makVrv::SdsmDrawCallback::myMinDepthArray[20] |
|
mutableprivate |
| float makVrv::SdsmDrawCallback::myMaxDepthArray[20] |
|
mutableprivate |
| bool makVrv::SdsmDrawCallback::mySDSMDepthAvailable |
|
mutableprivate |
The documentation for this struct was generated from the following file: