Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法将自定义结构作为统一传递给 GLSL 着色器?OpenGL Cookbook 展示了一种使用函数 setUniform('stuff') 的方法,但我不清楚这种方法。