10 #ifndef vtkRenderbuffer_h
11 #define vtkRenderbuffer_h
14 #include "vtkRenderingOpenGL2Module.h"
17 VTK_ABI_NAMESPACE_BEGIN
38 vtkGetMacro(Handle,
unsigned int);
69 int Create(
unsigned int format,
unsigned int width,
unsigned int height);
82 vtkGetMacro(Width,
unsigned int);
83 vtkGetMacro(Height,
unsigned int);
84 vtkGetMacro(Samples,
unsigned int);
110 VTK_ABI_NAMESPACE_END
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.
static vtkRenderbuffer * New()
void ReleaseGraphicsResources(vtkWindow *win)
vtkRenderWindow * GetContext()
Setting the context has the side affect of initializing OpenGL required extensions and allocates an O...
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)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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