cgv
Loading...
Searching...
No Matches
cgv::render::frame_buffer_base Class Reference

base interface for framebuffer More...

#include <context.h>

Inheritance diagram for cgv::render::frame_buffer_base:
cgv::render::render_component cgv::render::frame_buffer

Public Member Functions

 frame_buffer_base ()
 initialize members
 
- Public Member Functions inherited from cgv::render::render_component
 render_component ()
 initialize members
 
virtual bool is_created () const
 return whether component has been created
 
void put_id_void (void *ptr) const
 copy the rendering api specific id the component to the memory location of the given pointer.
 
template<typename T >
void put_id (T &id) const
 cast the refence to rendering api specific representation of component id to the specified type
 

Protected Attributes

bool is_enabled
 
std::vector< int > enabled_color_attachments
 
bool depth_attached
 
bool attached [16]
 
int width
 
int height
 

Friends

class context
 

Additional Inherited Members

- Public Attributes inherited from cgv::render::render_component
void * handle
 
void * internal_format
 
void * user_data
 
const contextctx_ptr
 keep pointer to my context
 
std::string last_error
 a string that contains the last error
 

Detailed Description

base interface for framebuffer

Definition at line 470 of file context.h.

Constructor & Destructor Documentation

◆ frame_buffer_base()

cgv::render::frame_buffer_base::frame_buffer_base ( )

initialize members

Definition at line 2307 of file context.cxx.

Friends And Related Symbol Documentation

◆ context

friend class context
friend

Definition at line 473 of file context.h.

Member Data Documentation

◆ attached

bool cgv::render::frame_buffer_base::attached[16]
protected

Definition at line 477 of file context.h.

◆ depth_attached

bool cgv::render::frame_buffer_base::depth_attached
protected

Definition at line 476 of file context.h.

◆ enabled_color_attachments

std::vector<int> cgv::render::frame_buffer_base::enabled_color_attachments
protected

Definition at line 475 of file context.h.

◆ height

int cgv::render::frame_buffer_base::height
protected

Definition at line 478 of file context.h.

◆ is_enabled

bool cgv::render::frame_buffer_base::is_enabled
protected

Definition at line 474 of file context.h.

◆ width

int cgv::render::frame_buffer_base::width
protected

Definition at line 478 of file context.h.


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