OpenCPN Partial API docs
Loading...
Searching...
No Matches
shaders.h File Reference

OpenGL shader interface. More...

#include "gl_headers.h"
#include <cstring>
#include <memory>
#include <string>
#include <unordered_map>

Go to the source code of this file.

Classes

class  GLShaderProgram
 Wrapper class for OpenGL shader programs. More...
 

Functions

bool loadShaders (int index=0)
 
void reConfigureShaders (int index=0)
 
void unloadShaders ()
 
GLShaderProgramGetStaticTriShader ()
 

Variables

GLShaderProgrampAALine_shader_program [2]
 
GLShaderProgrampcolor_tri_shader_program [2]
 
GLShaderProgramptexture_2D_shader_program [2]
 
GLShaderProgrampcircle_filled_shader_program [2]
 
GLShaderProgramptexture_2DA_shader_program [2]
 
GLShaderProgrampring_shader_program [2]
 
GLint texture_2DA_shader_program
 
const GLchar * preamble
 

Detailed Description

OpenGL shader interface.

Definition in file shaders.h.