VTK
Classes
dox/Rendering/OpenGL/vtkFrameBufferObject2.h File Reference
#include "vtkObject.h"
#include "vtkRenderingOpenGLModule.h"
#include "vtkSmartPointer.h"
#include "vtkWeakPointer.h"
Include dependency graph for vtkFrameBufferObject2.h:

Go to the source code of this file.

Classes

class  vtkFrameBufferObject2
 Interface to OpenGL framebuffer object. More...

Defines

#define vtkCheckFrameBufferStatusMacroImpl(macro, mode)
#define vtkCheckFrameBufferStatusMacro(mode)   vtkCheckFrameBufferStatusMacroImpl(vtkErrorMacro, mode)
#define vtkStaticCheckFrameBufferStatusMacro(mode)   vtkCheckFrameBufferStatusMacroImpl(vtkGenericWarningMacro, mode)

Define Documentation

#define vtkCheckFrameBufferStatusMacroImpl (   macro,
  mode 
)
Value:
{                                                                  \
const char *eStr;                                                  \
bool ok = vtkFrameBufferObject2::GetFrameBufferStatus(mode, eStr); \
if (!ok)                                                           \
  {                                                                \
  macro(                                                           \
    << "OpenGL ERROR. The FBO is incomplete : " << eStr);          \
  }                                                                \
 }

A variant of vtkErrorMacro that is used to verify framebuffer object completeness. It's provided so that reporting may include the file and line number of the offending code. In release mode the macro does nothing.

Definition at line 61 of file vtkFrameBufferObject2.h.

#define vtkCheckFrameBufferStatusMacro (   mode)    vtkCheckFrameBufferStatusMacroImpl(vtkErrorMacro, mode)

A variant of vtkErrorMacro that is used to verify framebuffer object completeness. It's provided so that reporting may include the file and line number of the offending code. In release mode the macro does nothing.

Definition at line 71 of file vtkFrameBufferObject2.h.

#define vtkStaticCheckFrameBufferStatusMacro (   mode)    vtkCheckFrameBufferStatusMacroImpl(vtkGenericWarningMacro, mode)

A variant of vtkErrorMacro that is used to verify framebuffer object completeness. It's provided so that reporting may include the file and line number of the offending code. In release mode the macro does nothing.

Definition at line 73 of file vtkFrameBufferObject2.h.