摘要: 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 阅读全文
posted @ 2022-12-24 09:55 ParamousGIS 阅读(348) 评论(0) 推荐(0) 编辑
摘要: std::string readText(std::string &filename) { std::string shaderCodeStr(""); std::ifstream shaderFile; shaderFile.exceptions(std::ifstream::failbit | 阅读全文
posted @ 2022-12-24 09:39 ParamousGIS 阅读(33) 评论(0) 推荐(0) 编辑