#include <frame_buffer.h>
Public Member Functions | |
Construction | |
| CL_FrameBuffer () | |
| Constructs a frame buffer. | |
| CL_FrameBuffer (CL_GraphicContext &context) | |
| Constructs a FrameBuffer. | |
Attributes | |
| CL_FrameBufferProvider * | get_provider () const |
| Get Provider. | |
| CL_Size | get_attachment_size (int buffer_id) const |
| Get attachment size. | |
Operations | |
| void | attach_color_buffer (int color_buffer, const CL_RenderBuffer &render_buffer) |
| Attach color buffer. | |
| void | attach_color_buffer (int color_buffer, const CL_Texture &texture, int level=0, int zoffset=0) |
| Attach color buffer. | |
| void | attach_color_buffer (int color_buffer, const CL_Texture &texture, CL_TextureSubtype subtype, int level=0, int zoffset=0) |
| Attach color buffer. | |
| void | detach_color_buffer (int color_buffer, const CL_Texture &texture, int level=0, int zoffset=0) |
| Detach color buffer. | |
| void | attach_stencil_buffer (const CL_RenderBuffer &render_buffer) |
| Attach stencil buffer. | |
| void | detach_stencil_buffer () |
| Detach stencil buffer. | |
| void | attach_depth_buffer (const CL_RenderBuffer &render_buffer) |
| Attach depth buffer. | |
| void | attach_depth_buffer (const CL_Texture &texture, CL_TextureSubtype subtype, int level=0, int zoffset=0) |
| Attach depth buffer. | |
| void | detach_depth_buffer () |
| Detach depth buffer. | |
|
|
Constructs a frame buffer.
|
|
|
Constructs a FrameBuffer.
|
|
||||||||||||||||||||||||
|
Attach color buffer.
|
|
||||||||||||||||||||
|
Attach color buffer.
|
|
||||||||||||
|
Attach color buffer.
|
|
||||||||||||||||||||
|
Attach depth buffer.
|
|
|
Attach depth buffer.
|
|
|
Attach stencil buffer.
|
|
||||||||||||||||||||
|
Detach color buffer.
|
|
|
Detach depth buffer.
|
|
|
Detach stencil buffer.
|
|
|
Get attachment size.
|
|
|
Get Provider.
|
1.4.6