Classempathy::shader::DefaultShader
shader
Variables
Member Functions

Classempathy::shader::DefaultShader

The Default Shader of drawing OpenGL diagrams.

Variables

shaderProgram GLuint

Member Functions

  • static
void
init ( )

Called while init() of the You or Empathy class.

Compile shaders and create the program.

  • static
void
setVertexColor ( Color * color )

Set the color of the fragmentColor.

color
  • static
void
use ( )

Activate this shader on OpenGL.