class to encapsulate depth peeling rendering passes as fall back if alpha sort is not available
More...
#include <MRDepthPeelingGL.h>
class to encapsulate depth peeling rendering passes as fall back if alpha sort is not available
◆ doPasses()
| MRVIEWER_API bool MR::DepthPeelingGL::doPasses |
( |
FramebufferData * | bgFramebuffer | ) |
|
renders transparent objects into this buffer returns true if there are transparent objects to render
◆ draw()
| MRVIEWER_API void MR::DepthPeelingGL::draw |
( |
| ) |
|
draws this result texture onto
◆ getNumPasses()
| int MR::DepthPeelingGL::getNumPasses |
( |
| ) |
const |
|
inline |
functions to control number of passes
◆ MR_ADD_CTOR_DELETE_MOVE()
◆ reset()
| MRVIEWER_API void MR::DepthPeelingGL::reset |
( |
const Vector2i & | size | ) |
|
if present-> del();gen(); otherwise just gen()
◆ setNumPasses()
| void MR::DepthPeelingGL::setNumPasses |
( |
int | passes | ) |
|
|
inline |
The documentation for this class was generated from the following file: