renderstack::framebuffer_attachment Class Reference

holds either renderbuffer or texture

#include <render_target.hpp>

Public Member Functions

 framebuffer_attachment ()
 framebuffer_attachment (int gl_attachment_point, enum attachment_type type)
int gl_attachment_point () const
enum attachment_type type () const
class texturetexture ()
class texture const & texture () const
class renderbufferrenderbuffer ()
class renderbuffer const & renderbuffer () const

Detailed Description

Definition at line 45 of file render_target.hpp.


Constructor & Destructor Documentation

renderstack::framebuffer_attachment::framebuffer_attachment (  ) 
renderstack::framebuffer_attachment::framebuffer_attachment ( int  gl_attachment_point,
enum attachment_type  type 
) [inline]

Definition at line 49 of file render_target.hpp.

00050     :   m_gl_attachment_point(gl_attachment_point)
00051     ,   m_type(type)
00052     {
00053     }


Member Function Documentation

int renderstack::framebuffer_attachment::gl_attachment_point (  )  const [inline]

Definition at line 56 of file render_target.hpp.

00056 { return m_gl_attachment_point; }

enum attachment_type renderstack::framebuffer_attachment::type (  )  const [inline]

Definition at line 57 of file render_target.hpp.

00057 { return m_type; }

class texture& renderstack::framebuffer_attachment::texture (  )  [inline]

Definition at line 58 of file render_target.hpp.

00058 { return m_texture; }

class texture const& renderstack::framebuffer_attachment::texture (  )  const [inline]

Definition at line 59 of file render_target.hpp.

00059 { return m_texture; }

class renderbuffer& renderstack::framebuffer_attachment::renderbuffer (  )  [inline]

Definition at line 60 of file render_target.hpp.

00060 { return m_renderbuffer; }

class renderbuffer const& renderstack::framebuffer_attachment::renderbuffer (  )  const [inline]

Definition at line 61 of file render_target.hpp.

00061 { return m_renderbuffer; }


The documentation for this class was generated from the following file:
Generated on Sun Apr 11 12:23:12 2010 for RenderStack by  doxygen 1.6.3