摘要:
1) OpenGL APIhttps://docs.gl/gl4/glUniform1-1) GLSL数据类型https://zhuanlan.zhihu.com/p/5579071951-2)纹理:https://blog.csdn.net/ht_vIC/article/details/12369 阅读全文
摘要:
std::string readText(std::string &filename) { std::string shaderCodeStr(""); std::ifstream shaderFile; shaderFile.exceptions(std::ifstream::failbit | 阅读全文