VTK: Rendering/OpenGL2/vtkOpenGLFramebufferObject.h File Reference

| VTK 9.3.1

Classes | Macros
vtkOpenGLFramebufferObject.h File Reference
`#include "vtkFrameBufferObjectBase.h"`
`#include "vtkRenderingOpenGL2Module.h"`
`#include <map>`
`#include <vector>`
Include dependency graph for vtkOpenGLFramebufferObject.h:

Go to the source code of this file.

## Classes
class | vtkOpenGLFramebufferObject
| Internal class which encapsulates OpenGL FramebufferObject. More...

## Macros
#define | VTK_UPDATED_FRAMEBUFFER
#define | vtkCheckFrameBufferStatusMacroImpl(macro, mode)
| A variant of vtkErrorMacro that is used to verify framebuffer object completeness. More...
#define | vtkCheckFrameBufferStatusMacro(mode) vtkCheckFrameBufferStatusMacroImpl(vtkErrorMacro, mode)
#define | vtkStaticCheckFrameBufferStatusMacro(mode) vtkCheckFrameBufferStatusMacroImpl(vtkGenericWarningMacro, mode)

## Macro Definition Documentation

## ◆ VTK_UPDATED_FRAMEBUFFER

#define VTK_UPDATED_FRAMEBUFFER

Definition at line 130 of file vtkOpenGLFramebufferObject.h.

## ◆ vtkCheckFrameBufferStatusMacroImpl

#define vtkCheckFrameBufferStatusMacroImpl | ( |  | macro,
|  |  | mode
| ) |  |

Value:
{ \
const char* eStr; \
bool ok = vtkOpenGLFramebufferObject::GetFrameBufferStatus(mode, eStr); \
if (!ok) \
{ \
macro(<< "OpenGL ERROR. The FBO is incomplete : " << eStr); \
} \
}
vtkOpenGLFramebufferObject::GetFrameBufferStatus
static bool GetFrameBufferStatus(unsigned int mode, const char *&desc)
Validate the current FBO configuration (attachments, formats, etc) return false if the FBO is incompl...
vtkX3D::mode
@ mode
Definition: vtkX3D.h:247

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 142 of file vtkOpenGLFramebufferObject.h.

## ◆ vtkCheckFrameBufferStatusMacro

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

Definition at line 151 of file vtkOpenGLFramebufferObject.h.

## ◆ vtkStaticCheckFrameBufferStatusMacro

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

Definition at line 152 of file vtkOpenGLFramebufferObject.h.