25 #ifndef __vtkFrameBufferObject_h
26 #define __vtkFrameBufferObject_h
32 #include <vtkstd/vector>
64 bool shaderSupportsTextureInt);
65 bool StartNonOrtho(
int width,
67 bool shaderSupportsTextureInt);
76 void RenderQuad(
int minX,
92 void SetActiveBuffer(
unsigned int index)
94 this->SetActiveBuffers(1, &index);
101 void SetActiveBuffers(
int numbuffers,
102 unsigned int indices[]);
111 void SetColorBuffer(
unsigned int index,
113 unsigned int zslice=0);
116 void RemoveColorBuffer(
unsigned int index);
117 void RemoveAllColorBuffers();
122 void RemoveDepthBuffer();
128 vtkSetMacro(DepthBufferNeeded,
bool);
129 vtkGetMacro(DepthBufferNeeded,
bool);
134 void SetNumberOfRenderTargets(
unsigned int);
135 vtkGetMacro(NumberOfRenderTargets,
unsigned int);
141 unsigned int GetMaximumNumberOfActiveTargets();
146 unsigned int GetMaximumNumberOfRenderTargets();
150 vtkGetVector2Macro(LastSize,
int);
159 void CheckFrameBufferStatus();
162 void DisplayFrameBufferAttachments();
165 void DisplayFrameBufferAttachment(
unsigned int uattachment);
168 void DisplayDrawBuffers();
171 void DisplayReadBuffer();
174 void DisplayBuffer(
int value);
194 void Create(
int width,
196 void CreateBuffers(
int width,
198 void CreateColorBuffers(
int width,
200 bool shaderSupportsTextureInt);
202 void DestroyBuffers();
203 void DestroyColorBuffers();
204 void ActivateBuffers();