Mir
|
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 | |
GLProgramFamily & | operator= (GLProgramFamily const &)=delete |
~GLProgramFamily () noexcept | |
GLuint | add_program (const GLchar *const static_vshader_src, const GLchar *const static_fshader_src) |
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.
|
default |
|
delete |
|
noexcept |
GLuint mir::compositor::GLProgramFamily::add_program | ( | const GLchar *const | static_vshader_src, |
const GLchar *const | static_fshader_src | ||
) |
|
delete |
Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015