Omnidome
Fulldome Mapping Software Toolkit
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Namespaces | Functions
Shader.h File Reference
#include <functional>
#include <memory>
#include <set>
#include <omni/visual/ContextBoundPtr.h>
#include <omni/visual/UniformHandler.h>
Include dependency graph for Shader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  omni::visual::ShaderCompiler
 Adds #include functionality to shader source code Compiles source code file with included files or compiles a shader. More...
 

Namespaces

 omni
 Header to document namespaces.
 
 omni::visual
 Namespace for OpenGL visualization.
 

Functions

void omni::visual::useShader (QOpenGLShaderProgram &_s, std::function< void(UniformHandler &)> f)
 Use shader with and do uniform assignment and drawing inside functor. More...
 
void omni::visual::initShader (QOpenGLShaderProgram &_s, const char *_filename)
 Initialize shader: load from file and compile. More...
 
void omni::visual::initShader (std::unique_ptr< QOpenGLShaderProgram > &_s, const char *_filename)
 Initialize shader: load from file and compile. More...
 
void omni::visual::initShader (ContextBoundPtr< QOpenGLShaderProgram > &_s, const char *_filename)
 Initialize shader: load from file and compile. More...