All Classes |Grouped Classes |Index

Class CL_FrameBuffer

Frame-buffer object class. More...

Derived from:

None

Derived by:

None

Group:

Display (Display)

#include <ClanLib/display.h>

Class Members:

Construction:

CL_FrameBuffer

Constructs a null instance.


Attributes:

is_null

Returns true if this object is invalid.

throw_if_null

Throw an exception if this object is invalid.

get_provider

Get Provider.

get_size

Get the minumum size of all the frame buffer attachments.

get_bind_target

Get the bind target of the framebuffer.


Operations:

operator==

Equality operator.

attach_color_buffer

Attach color buffer.

detach_color_buffer

Attach color buffer.

attach_stencil_buffer

detach_stencil_buffer

attach_depth_buffer

detach_depth_buffer

attach_depth_stencil_buffer

detach_depth_stencil_buffer

set_bind_target

Set the bind target of the framebuffer to either drawn to or read from.