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 ()
GLShaderProgram * GetStaticTriShader ()

Variables

GLShaderProgram * pAALine_shader_program [2]
GLShaderProgram * pcolor_tri_shader_program [2]
GLShaderProgram * ptexture_2D_shader_program [2]
GLShaderProgram * pcircle_filled_shader_program [2]
GLShaderProgram * ptexture_2DA_shader_program [2]
GLShaderProgram * pring_shader_program [2]
GLint texture_2DA_shader_program
const GLchar * preamble

Detailed Description

OpenGL shader interface.

Definition in file shaders.h.