So what is simple - crossplatform C++ library for compiling and running GLSL shaders from source and emulating videocard if needed. Generally I want to give it shader and data and be capable to run it and get resulting data. Is there any such library/ or described way to use some libs 开发者_如何学JAVAin combo?
Probably the easiest way would be to use a cross-platform OpenGL framework like GLFW with a bit to compile and use a shader (e.g., one I posted in a previous answer). For systems that didn't support OpenGL otherwise, you'd probably want to use Mesa3D.
精彩评论