Euphoria
shader.cc File Reference
#include "render/shader.h"
#include <iostream>
#include <fstream>
#include <algorithm>
#include "assert/assert.h"
#include "log/log.h"
#include "base/stringutils.h"
#include "io/vfs.h"
#include "render/gl.h"
#include "render/texture.h"

Go to the source code of this file.

Namespaces

 eu
 
 eu::render
 

Functions

void eu::render::use (const ShaderProgram *shader)
 
void eu::render::report_shader_error (const std::string &log, const std::string &type)
 
void eu::render::report_error_program (GLuint program)
 
void eu::render::report_error_shader (GLuint shader, const std::string &type)
 
GLuint eu::render::compile_shader (GLuint type, const GLchar *source, const std::string &name)
 
void eu::render::bind_texture_to_shader (Texture2 *texture, ShaderProgram *shader, const ShaderUniform &attribute, gl::Int index)