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.
我有一个我计划改变的顶点列表,并希望能对 VBO、显示列表和 VA 之间的差异进行一些澄清——我正在尝试加快我的应用程序中的渲染速度。VBO 和显示列表不是选项,因为我没有渲染静态几何图形吗?
好吧,使用 VBO 以外的任何东西(即客户端内存指针和/或显示列表)都不是核心上下文中的选项。
对于动态数据,您可以在调用参数中指定GL_STREAM_DRAW/并希望您的 GL 实现得到提示。GL_DYNAMIC_DRAWglBufferData()usage
GL_STREAM_DRAW
GL_DYNAMIC_DRAW
glBufferData()
usage