简体   繁体   English

OpenGL和Windows编程C ++

[英]OpenGL and Windows Programming C++

If I want to begin learning OpenGL and am not concerned about portability at the moment, would it be unwise to use OpenGL and Windows Programming together? 如果我想开始学习OpenGL并且现在不关心可移植性,那么将OpenGL和Windows编程一起使用是不明智的吗? (I am developing on Windows) (我在Windows上开发)

Not at all. 一点也不。 If you already know the Windows API/message pump, adding the OpenGL context management bits won't be too much of a problem. 如果您已经了解Windows API /消息泵,则添加OpenGL上下文管理位不会有太大问题。

If you're new to both Windows programming AND OpenGL, I'd recommend starting with GLUT or similar frameworks that will let you focus on the OpenGL bits without worrying too much about interacting with the window system. 如果你是Windows编程和OpenGL的新手,我建议从GLUT或类似的框架开始,让你专注于OpenGL位,而不必过多担心与窗口系统的交互。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM