Mir
Classes | Public Member Functions | List of all members
mir::renderer::gl::ProgramFamily Class Reference

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

#include <program_family.h>

Public Member Functions

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

Detailed Description

ProgramFamily 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::renderer::gl::ProgramFamily::ProgramFamily ( )
default
mir::renderer::gl::ProgramFamily::ProgramFamily ( ProgramFamily const &  )
delete
mir::renderer::gl::ProgramFamily::~ProgramFamily ( )
noexcept

Member Function Documentation

GLuint mir::renderer::gl::ProgramFamily::add_program ( const GLchar *const  static_vshader_src,
const GLchar *const  static_fshader_src 
)
ProgramFamily& mir::renderer::gl::ProgramFamily::operator= ( ProgramFamily const &  )
delete

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

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015