CL_FrameBufferProvider Class Reference
[clanDisplay Display]

Interface for implementing a CL_FrameBuffer target. More...

#include <frame_buffer_provider.h>

List of all members.

Public Member Functions

Construction
virtual ~CL_FrameBufferProvider ()
Attributes
virtual CL_Size get_attachment_size (int buffer_id) const =0
 Get attachment size.
virtual const std::vector<
int > & 
get_attachment_indexes () const =0
Operations
virtual void destroy ()=0
 Destroys the provider.
virtual void attach_color_buffer (int color_buffer, const CL_RenderBuffer &render_buffer)=0
 Attach color buffer.
virtual void attach_color_buffer (int color_buffer, const CL_Texture &texture, int level=0, int zoffset=0)=0
 Attach color buffer.
virtual void attach_color_buffer (int color_buffer, const CL_Texture &texture, CL_TextureSubtype subtype, int level=0, int zoffset=0)=0
 Attach color buffer.
virtual void detach_color_buffer (int color_buffer, const CL_Texture &texture, int level=0, int zoffset=0)=0
 Detach color buffer.
virtual void attach_stencil_buffer (const CL_RenderBuffer &render_buffer)=0
 Attach stencil buffer.
virtual void detach_stencil_buffer ()=0
 Detach stencil buffer.
virtual void attach_depth_buffer (const CL_RenderBuffer &render_buffer)=0
 Attach depth buffer.
virtual void attach_depth_buffer (const CL_Texture &texture, CL_TextureSubtype subtype, int level=0, int zoffset=0)=0
 Attach depth buffer.
virtual void detach_depth_buffer ()=0
 Detach depth buffer.


Detailed Description

Interface for implementing a CL_FrameBuffer target.


Constructor & Destructor Documentation

virtual CL_FrameBufferProvider::~CL_FrameBufferProvider  )  [inline, virtual]
 


Member Function Documentation

virtual void CL_FrameBufferProvider::attach_color_buffer int  color_buffer,
const CL_Texture texture,
CL_TextureSubtype  subtype,
int  level = 0,
int  zoffset = 0
[pure virtual]
 

Attach color buffer.

Parameters:
color_buffer = value
texture = Texture
subtype = Texture Subtype
level = value
zoffset = value

virtual void CL_FrameBufferProvider::attach_color_buffer int  color_buffer,
const CL_Texture texture,
int  level = 0,
int  zoffset = 0
[pure virtual]
 

Attach color buffer.

Parameters:
color_buffer = value
texture = Texture
level = value
zoffset = value

virtual void CL_FrameBufferProvider::attach_color_buffer int  color_buffer,
const CL_RenderBuffer render_buffer
[pure virtual]
 

Attach color buffer.

Parameters:
color_buffer = value
render_buffer = Render Buffer

virtual void CL_FrameBufferProvider::attach_depth_buffer const CL_Texture texture,
CL_TextureSubtype  subtype,
int  level = 0,
int  zoffset = 0
[pure virtual]
 

Attach depth buffer.

Parameters:
texture = Texture
subtype = Texture Subtype
level = value
zoffset = value

virtual void CL_FrameBufferProvider::attach_depth_buffer const CL_RenderBuffer render_buffer  )  [pure virtual]
 

Attach depth buffer.

Parameters:
render_buffer = Render Buffer

virtual void CL_FrameBufferProvider::attach_stencil_buffer const CL_RenderBuffer render_buffer  )  [pure virtual]
 

Attach stencil buffer.

Parameters:
render_buffer = Render Buffer

virtual void CL_FrameBufferProvider::destroy  )  [pure virtual]
 

Destroys the provider.

virtual void CL_FrameBufferProvider::detach_color_buffer int  color_buffer,
const CL_Texture texture,
int  level = 0,
int  zoffset = 0
[pure virtual]
 

Detach color buffer.

Parameters:
color_buffer = value
texture = Texture
level = value
zoffset = value

virtual void CL_FrameBufferProvider::detach_depth_buffer  )  [pure virtual]
 

Detach depth buffer.

virtual void CL_FrameBufferProvider::detach_stencil_buffer  )  [pure virtual]
 

Detach stencil buffer.

virtual const std::vector<int>& CL_FrameBufferProvider::get_attachment_indexes  )  const [pure virtual]
 

virtual CL_Size CL_FrameBufferProvider::get_attachment_size int  buffer_id  )  const [pure virtual]
 

Get attachment size.

Parameters:
buffer_id = value
Returns:
Size


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:36 2009 for ClanLib by  doxygen 1.4.6