# GpuQuadraticCurveRender::OpenglGpuProgram Class Reference

Opengl GLSL program. It links and compiles a vertex shader and a pixel shader. More...

`#include <OpenglGpuProgram.h>`

List of all members.

## Public Member Functions
| OpenglGpuProgram (const std::wstring &vertexShader, const std::wstring &pixelShader)
| ~OpenglGpuProgram (void)
| Destructor.
GLint | getGlProgramId (void) const
| Gets gl program id.

## Detailed Description

Opengl GLSL program. It links and compiles a vertex shader and a pixel shader.

## Constructor & Destructor Documentation

OpenglGpuProgram::OpenglGpuProgram | ( | const std::wstring & | vertexShader,
|  | const std::wstring & | pixelShader |
| ) |  |  |

Constructor

Parameters:

  | vertexShader | path to vertex shader file
  | pixelShader | path to pixel shader file

## Member Function Documentation

GLint OpenglGpuProgram::getGlProgramId | ( | void |  | ) | const

Gets gl program id.

Returns:
  gl program id

The documentation for this class was generated from the following files:

- src/GpuQuadraticCurveRender/OpenglGpuProgram.h
- src/GpuQuadraticCurveRender/OpenglGpuProgram.cpp