gramods
Public Member Functions | Public Attributes | List of all members
gramods::gmGraphics::OffscreenRenderTargets::Impl Struct Reference
Collaboration diagram for gramods::gmGraphics::OffscreenRenderTargets::Impl:
Collaboration graph
[legend]

Public Member Functions

bool init (size_t count)
 
void push ()
 
void pop ()
 
void bind (size_t width, size_t height, size_t idx)
 
void teardown ()
 

Public Attributes

bool is_functional = false
 
std::vector< GLuint > fb_id
 
std::vector< GLuint > tex_id
 
GLuint rb_depth_id = 0
 
bool use_powers_of_two = false
 
GLenum pixel_format = GL_RGBA8
 
std::vector< std::array< size_t, 2 > > tex_size
 
bool use_linear = false
 
std::stack< std::array< GLint, 4 > > viewport_stack
 
std::stack< GLint > target_framebuffer_stack
 
std::stack< GLint > target_renderbuffer_stack
 

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