Mir
Classes | Public Member Functions | List of all members
mir::compositor::GLProgramFamily Class Reference

GLProgramFamily represents a set of GLSL programs that are closely related. More...

#include <gl_program_family.h>

Public Member Functions

 GLProgramFamily ()=default
 
 GLProgramFamily (GLProgramFamily const &)=delete
 
GLProgramFamilyoperator= (GLProgramFamily const &)=delete
 
 ~GLProgramFamily () noexcept
 
GLuint add_program (const GLchar *const static_vshader_src, const GLchar *const static_fshader_src)
 

Detailed Description

GLProgramFamily represents a set of GLSL programs that are closely related.

Programs which point to the same shader source strings will be made to share the same compiled shader objects. A secondary intention is that this class may be extended to allow the different programs within the family to share common patterns of uniform usage too.

Constructor & Destructor Documentation

mir::compositor::GLProgramFamily::GLProgramFamily ( )
default
mir::compositor::GLProgramFamily::GLProgramFamily ( GLProgramFamily const &  )
delete
mir::compositor::GLProgramFamily::~GLProgramFamily ( )
noexcept

Member Function Documentation

GLuint mir::compositor::GLProgramFamily::add_program ( const GLchar *const  static_vshader_src,
const GLchar *const  static_fshader_src 
)
GLProgramFamily& mir::compositor::GLProgramFamily::operator= ( GLProgramFamily const &  )
delete

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015