10#ifndef vtkRenderbuffer_h
11#define vtkRenderbuffer_h
14#include "vtkRenderingOpenGL2Module.h"
17VTK_ABI_NAMESPACE_BEGIN
38 vtkGetMacro(Handle,
unsigned int);
69 int Create(
unsigned int format,
unsigned int width,
unsigned int height);
70 int Create(
unsigned int format,
unsigned int width,
unsigned int height,
unsigned int samples);
75 void Resize(
unsigned int width,
unsigned int height);
82 vtkGetMacro(Width,
unsigned int);
83 vtkGetMacro(Height,
unsigned int);
84 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.
a weak reference to a vtkObject.
window superclass for vtkRenderWindow