This file contains all initialization-related stuff of the VolumeRenderer for more clean looks.
More...
|
#define | FRAGDATA_LOCATION "fragColor" |
|
#define | CHECK_EXT(ctx, str) |
|
#define | VAO_CREATE(vao) |
|
#define | BUFFER_CREATE(buf) |
|
|
PFNGLBINDIMAGETEXTUREPROC | __glBindImageTexture |
|
PFNGLDISPATCHCOMPUTEPROC | __glDispatchCompute |
|
This file contains all initialization-related stuff of the VolumeRenderer for more clean looks.
The main implementation file is volumerenderer.cpp.
- See Also
- volumerenderer_private.h
#define BUFFER_CREATE |
( |
|
buf | ) |
|
Value:if(!buf->create()){\
m_errString = tr("Could not create buffer object.");\
delete buf; \
return false;}
#define CHECK_EXT |
( |
|
ctx, |
|
|
|
str |
|
) |
| |
Value:if(d.glExtensions.contains(str)) \
{ qDebug()<<str<<"... ok"; } \
else { qCritical()<<str<<"... MISSING!"; m_errString=tr("Required OpenGL extension %1 not available, sorry :/").arg(str); return false;}
#define VAO_CREATE |
( |
|
vao | ) |
|
Value:if(!vao->create()){\
m_errString = tr("Could not create vertex array object.");\
delete vao; \
return false;}