C++ Shader class to use in all platforms