Euphoria
Classes | Namespaces | Functions
shader.h File Reference
#include <unordered_set>
#include "render/opengl_labels.h"
#include "render/uniform.h"
#include "render/vertex_layout.h"

Go to the source code of this file.

Classes

struct  eu::render::ShaderProgram
 RAII representation of a open gl shader program. More...
 

Namespaces

namespace  eu
 
namespace  eu::render
 

Functions

void eu::render::setup_textures (ShaderProgram *shader, const std::vector< Uniform * > &uniform_list)
 Sets up textures for a shader program.
 
bool eu::render::is_bound_for_shader (const std::unordered_set< VertexType > &debug_geom_shader_types)
 Verifies if the current shader matches the required vertex types.
 
bool eu::render::is_shader_bound (unsigned int program)
 Checks if a specific shader program is currently active.
 
void eu::render::clear_shader_program ()
 Clears the current open gl shader program binding.