clan::FrameBufferProvider Class Referenceabstract

Interface for implementing a FrameBuffer target. More...

#include <frame_buffer_provider.h>

Public Member Functions

virtual ~FrameBufferProvider ()
 
virtual void attach_color (int attachment_index, const RenderBuffer &render_buffer)=0
 Attach color buffer. More...
 
virtual void attach_color (int attachment_index, const Texture1D &texture, int level)=0
 Attach color buffer. More...
 
virtual void attach_color (int attachment_index, const Texture1DArray &texture, int array_index, int level)=0
 Attach color buffer. More...
 
virtual void attach_color (int attachment_index, const Texture2D &texture, int level)=0
 Attach color buffer. More...
 
virtual void attach_color (int attachment_index, const Texture2DArray &texture, int array_index, int level)=0
 Attach color buffer. More...
 
virtual void attach_color (int attachment_index, const Texture3D &texture, int depth, int level)=0
 Attach color buffer. More...
 
virtual void attach_color (int attachment_index, const TextureCube &texture, TextureSubtype subtype, int level)=0
 Attach color buffer. More...
 
virtual void attach_depth (const RenderBuffer &render_buffer)=0
 
virtual void attach_depth (const Texture2D &texture, int level)=0
 
virtual void attach_depth (const TextureCube &texture, TextureSubtype subtype, int level)=0
 
virtual void attach_depth_stencil (const RenderBuffer &render_buffer)=0
 
virtual void attach_depth_stencil (const Texture2D &texture, int level)=0
 
virtual void attach_depth_stencil (const TextureCube &texture, TextureSubtype subtype, int level)=0
 
virtual void attach_stencil (const RenderBuffer &render_buffer)=0
 
virtual void attach_stencil (const Texture2D &texture, int level)=0
 
virtual void attach_stencil (const TextureCube &texture, TextureSubtype subtype, int level)=0
 
virtual void detach_color (int attachment_index)=0
 Detach color buffer. More...
 
virtual void detach_depth ()=0
 
virtual void detach_depth_stencil ()=0
 
virtual void detach_stencil ()=0
 
virtual FrameBufferBindTarget get_bind_target () const =0
 
virtual Size get_size () const =0
 
virtual void set_bind_target (FrameBufferBindTarget target)=0
 

Detailed Description

Interface for implementing a FrameBuffer target.

Constructor & Destructor Documentation

virtual clan::FrameBufferProvider::~FrameBufferProvider ( )
inlinevirtual

Member Function Documentation

virtual void clan::FrameBufferProvider::attach_color ( int  attachment_index,
const RenderBuffer render_buffer 
)
pure virtual

Attach color buffer.

Parameters
attachment_index= value
render_buffer= Render Buffer
virtual void clan::FrameBufferProvider::attach_color ( int  attachment_index,
const Texture1D texture,
int  level 
)
pure virtual

Attach color buffer.

Parameters
attachment_index= value
texture= Texture
level= value
virtual void clan::FrameBufferProvider::attach_color ( int  attachment_index,
const Texture1DArray texture,
int  array_index,
int  level 
)
pure virtual

Attach color buffer.

Parameters
attachment_index= value
texture= Texture
array_index= value
level= value
virtual void clan::FrameBufferProvider::attach_color ( int  attachment_index,
const Texture2D texture,
int  level 
)
pure virtual

Attach color buffer.

Parameters
attachment_index= value
texture= Texture
level= value
virtual void clan::FrameBufferProvider::attach_color ( int  attachment_index,
const Texture2DArray texture,
int  array_index,
int  level 
)
pure virtual

Attach color buffer.

Parameters
attachment_index= value
texture= Texture
array_index= value
level= value
virtual void clan::FrameBufferProvider::attach_color ( int  attachment_index,
const Texture3D texture,
int  depth,
int  level 
)
pure virtual

Attach color buffer.

Parameters
attachment_index= value
texture= Texture
depth= value
level= value
virtual void clan::FrameBufferProvider::attach_color ( int  attachment_index,
const TextureCube texture,
TextureSubtype  subtype,
int  level 
)
pure virtual

Attach color buffer.

Parameters
attachment_index= value
texture= Texture
subtype= Texture Subtype
level= value
zoffset= value
virtual void clan::FrameBufferProvider::attach_depth ( const RenderBuffer render_buffer)
pure virtual
virtual void clan::FrameBufferProvider::attach_depth ( const Texture2D texture,
int  level 
)
pure virtual
virtual void clan::FrameBufferProvider::attach_depth ( const TextureCube texture,
TextureSubtype  subtype,
int  level 
)
pure virtual
virtual void clan::FrameBufferProvider::attach_depth_stencil ( const RenderBuffer render_buffer)
pure virtual
virtual void clan::FrameBufferProvider::attach_depth_stencil ( const Texture2D texture,
int  level 
)
pure virtual
virtual void clan::FrameBufferProvider::attach_depth_stencil ( const TextureCube texture,
TextureSubtype  subtype,
int  level 
)
pure virtual
virtual void clan::FrameBufferProvider::attach_stencil ( const RenderBuffer render_buffer)
pure virtual
virtual void clan::FrameBufferProvider::attach_stencil ( const Texture2D texture,
int  level 
)
pure virtual
virtual void clan::FrameBufferProvider::attach_stencil ( const TextureCube texture,
TextureSubtype  subtype,
int  level 
)
pure virtual
virtual void clan::FrameBufferProvider::detach_color ( int  attachment_index)
pure virtual

Detach color buffer.

Parameters
color_buffer= value
texture= Texture
level= value
zoffset= value
virtual void clan::FrameBufferProvider::detach_depth ( )
pure virtual
virtual void clan::FrameBufferProvider::detach_depth_stencil ( )
pure virtual
virtual void clan::FrameBufferProvider::detach_stencil ( )
pure virtual
virtual FrameBufferBindTarget clan::FrameBufferProvider::get_bind_target ( ) const
pure virtual
virtual Size clan::FrameBufferProvider::get_size ( ) const
pure virtual
virtual void clan::FrameBufferProvider::set_bind_target ( FrameBufferBindTarget  target)
pure virtual

The documentation for this class was generated from the following file: