35 #include "../api_display.h"
36 #include "../../Core/System/sharedptr.h"
44 class CL_FrameBuffer_Impl;
94 void throw_if_null()
const;
122 void attach_color_buffer(
int attachment_index,
const CL_RenderBuffer &render_buffer);
128 void detach_color_buffer(
int attachment_index,
const CL_RenderBuffer &render_buffer);
136 void attach_color_buffer(
int attachment_index,
const CL_Texture &texture,
int level = 0,
int zoffset = 0);
145 void attach_color_buffer(
int attachment_index,
const CL_Texture &texture,
CL_TextureSubtype subtype,
int level = 0,
int zoffset = 0);
153 void detach_color_buffer(
int attachment_index,
const CL_Texture &texture,
int level = 0,
int zoffset = 0);
157 void attach_stencil_buffer(
const CL_Texture &texture,
int level = 0,
int zoffset = 0);
159 void detach_stencil_buffer(
const CL_Texture &texture,
int level = 0,
int zoffset = 0);
163 void attach_depth_buffer(
const CL_Texture &texture,
int level = 0,
int zoffset = 0);
165 void detach_depth_buffer(
const CL_Texture &texture,
int level = 0,
int zoffset = 0);
167 void attach_depth_stencil_buffer(
const CL_RenderBuffer &render_buffer);
168 void detach_depth_stencil_buffer(
const CL_RenderBuffer &render_buffer);
169 void attach_depth_stencil_buffer(
const CL_Texture &texture,
int level = 0,
int zoffset = 0);
171 void detach_depth_stencil_buffer(
const CL_Texture &texture,
int level = 0,
int zoffset = 0);
184 CL_SharedPtr<CL_FrameBuffer_Impl> impl;