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