33 #include "../api_display.h"
51 class FrameBufferProvider;
52 class FrameBuffer_Impl;
96 void throw_if_null()
const;
106 Size get_size()
const;
124 void attach_color(
int attachment_index,
const RenderBuffer &render_buffer);
131 void attach_color(
int attachment_index,
const Texture1D &texture,
int level = 0);
139 void attach_color(
int attachment_index,
const Texture1DArray &texture,
int array_index = -1,
int level = 0);
146 void attach_color(
int attachment_index,
const Texture2D &texture,
int level = 0);
154 void attach_color(
int attachment_index,
const Texture2DArray &texture,
int array_index = -1,
int level = 0);
162 void attach_color(
int attachment_index,
const Texture3D &texture,
int depth,
int level = 0);
179 void detach_color(
int attachment_index);
182 void attach_stencil(
const Texture2D &texture,
int level = 0);
184 void detach_stencil();
187 void attach_depth(
const Texture2D &texture,
int level = 0);
191 void attach_depth_stencil(
const RenderBuffer &render_buffer);
192 void attach_depth_stencil(
const Texture2D &texture,
int level = 0);
194 void detach_depth_stencil();
207 std::shared_ptr<FrameBuffer_Impl> impl;
3D texture object class.
Definition: texture_3d.h:42
Definition: frame_buffer.h:57
Frame-buffer object class.
Definition: frame_buffer.h:73
1D texture array object class.
Definition: texture_1d_array.h:42
2D texture cube object class.
Definition: texture_cube.h:53
Definition: frame_buffer.h:61
bool is_null() const
Returns true if this object is invalid.
Definition: frame_buffer.h:93
2D texture object class.
Definition: texture_2d.h:42
Definition: frame_buffer.h:69
Definition: frame_buffer.h:62
FrameBufferBindTarget
Framebuffer bind target.
Definition: frame_buffer.h:66
Definition: frame_buffer.h:59
Interface to drawing graphics.
Definition: graphic_context.h:257
TextureSubtype
Texture Subtype.
Definition: frame_buffer.h:55
Definition: frame_buffer.h:68
2D (width,height) size structure - Integer
Definition: size.h:157
Interface for implementing a FrameBuffer target.
Definition: frame_buffer_provider.h:46
Definition: frame_buffer.h:60
1D texture object class.
Definition: texture_1d.h:42
2D texture array object class.
Definition: texture_2d_array.h:44
Render-buffer object class.
Definition: render_buffer.h:48
Definition: frame_buffer.h:58