Go to the documentation of this file.
22 #ifndef vtkRenderbuffer_h
23 #define vtkRenderbuffer_h
26 #include "vtkRenderingOpenGL2Module.h"
49 vtkGetMacro(Handle,
unsigned int);
104 vtkGetMacro(Width,
unsigned int);
105 vtkGetMacro(Height,
unsigned int);
106 vtkGetMacro(Samples,
unsigned int);
void PrintSelf(ostream &os, vtkIndent indent) override
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.
int Create(unsigned int format, unsigned int width, unsigned int height, unsigned int samples)
window superclass for vtkRenderWindow
void Resize(unsigned int width, unsigned int height)
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)
void ReleaseGraphicsResources(vtkWindow *win)
create a window for renderers to draw into
~vtkRenderbuffer() override