C++ Version of GLSL Shader Simulator