Go to the documentation of this file.
22 #ifndef vtkRenderbuffer_h
23 #define vtkRenderbuffer_h
26 #include "vtkRenderingOpenGL2Module.h"
48 vtkGetMacro(Handle,
unsigned int);
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
abstract base class for most VTK objects
int CreateColorAttachment(unsigned int width, unsigned int height)
Sets up an RGBAF renderbufffer for use as a color attachment.
static bool IsSupported(vtkRenderWindow *renWin)
Returns if the context supports the required extensions.
vtkRenderWindow * GetContext()
a simple class to control print indentation
int Create(unsigned int format, unsigned int width, unsigned int height)
Sets up an renderbufffer.
void SetContext(vtkRenderWindow *win)
Setting the context has the side affect of initializing OpenGL required extensions and allocates an O...
int CreateDepthAttachment(unsigned int width, unsigned int height)
Sets up an DEPTH renderbufffer for use as a color attachment.
static vtkRenderbuffer * New()
bool LoadRequiredExtensions(vtkRenderWindow *renWin)
create a window for renderers to draw into