Mir
|
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 | |
ProgramFamily & | operator= (ProgramFamily const &)=delete |
~ProgramFamily () noexcept | |
GLuint | add_program (const GLchar *const static_vshader_src, const GLchar *const static_fshader_src) |
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.
|
default |
|
delete |
|
noexcept |
GLuint mir::renderer::gl::ProgramFamily::add_program | ( | const GLchar *const | static_vshader_src, |
const GLchar *const | static_fshader_src | ||
) |
|
delete |
Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015