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.
当我绘制图像然后尝试绘制其他几何图形(2D)时,例如线或正方形......它不会工作,因为图像仍然绑定到 GL(image.bind())。Texture 类中没有取消绑定图像的方法。如何从 GL 取消绑定图像?
In OpenGL you would call glBindTexture(GL_TEXTURE_2D, 0). Now if you use JOGL you can call Texture.disable(). However make sure you read the performance tips in any case
glBindTexture(GL_TEXTURE_2D, 0)
Texture.disable()