10/28/2023 0 Comments Opengl only use es 2.0 callsFor more information, see the Vulkan guide. If you will be using Vulkan to render to a window, disable context creation by setting the GLFW_CLIENT_API hint to GLFW_NO_API. Note Vulkan does not have a context and the Vulkan instance is created via the Vulkan API itself. To test the creation of various kinds of contexts and see their properties, run the glfwinfo test program. See Window creation for more information.Īs the window and context are inseparably linked, the window object also serves as the context handle. It is created with glfwCreateWindow and destroyed with glfwDestroyWindow or glfwTerminate. There are also guides for the other areas of the GLFW API.Ī window object encapsulates both a top-level window and an OpenGL or OpenGL ES context. For details on a specific function in this category, see the Context reference. This guide introduces the OpenGL and OpenGL ES context related functions of GLFW.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |