50 class FrameBufferProvider;
51 class FrameBuffer_Impl;
213 std::shared_ptr<FrameBuffer_Impl> impl;
3D texture object class.
Definition: texture_3d.h:41
Definition: frame_buffer.h:56
Size get_size() const
Get the minumum size of all the frame buffer attachments.
Frame-buffer object class.
Definition: frame_buffer.h:72
bool is_null() const
Returns true if this object is invalid.
Definition: frame_buffer.h:92
1D texture array object class.
Definition: texture_1d_array.h:41
2D texture cube object class.
Definition: texture_cube.h:52
void attach_color(int attachment_index, const RenderBuffer &render_buffer)
Attach color buffer.
Definition: frame_buffer.h:60
void set_bind_target(FrameBufferBindTarget target)
Set the bind target of the framebuffer to either drawn to or read from.
2D texture object class.
Definition: texture_2d.h:41
Definition: frame_buffer.h:68
void detach_color(int attachment_index)
Detach color buffer.
FrameBuffer()
Constructs a null instance.
float get_pixel_ratio() const
FrameBufferBindTarget get_bind_target() const
Get the bind target of the framebuffer.
Definition: frame_buffer.h:61
FrameBufferBindTarget
Framebuffer bind target.
Definition: frame_buffer.h:65
Definition: frame_buffer.h:58
void detach_depth_stencil()
Interface to drawing graphics.
Definition: graphic_context.h:257
TextureSubtype
Texture Subtype.
Definition: frame_buffer.h:54
void attach_stencil(const RenderBuffer &render_buffer)
void attach_depth(const RenderBuffer &render_buffer)
bool operator==(const FrameBuffer &other) const
Equality operator.
Definition: frame_buffer.h:67
2D (width,height) size structure - Integer
Definition: size.h:156
Interface for implementing a FrameBuffer target.
Definition: frame_buffer_provider.h:45
Definition: frame_buffer.h:59
void attach_depth_stencil(const RenderBuffer &render_buffer)
1D texture object class.
Definition: texture_1d.h:41
FrameBufferProvider * get_provider() const
Get Provider.
2D texture array object class.
Definition: texture_2d_array.h:43
void throw_if_null() const
Throw an exception if this object is invalid.
Render-buffer object class.
Definition: render_buffer.h:47
Definition: frame_buffer.h:57