mirror of
https://github.com/glfw/glfw.git
synced 2024-12-01 16:44:37 +00:00
Documentation work
This commit is contained in:
parent
2accdb76bd
commit
b0b77bc0f2
@ -7,7 +7,8 @@
|
|||||||
This guide is intended to fill the gaps between the [Vulkan
|
This guide is intended to fill the gaps between the [Vulkan
|
||||||
documentation](https://www.khronos.org/vulkan/) and the rest of the GLFW
|
documentation](https://www.khronos.org/vulkan/) and the rest of the GLFW
|
||||||
documentation and is not a replacement for either. It assumes some familiarity
|
documentation and is not a replacement for either. It assumes some familiarity
|
||||||
with Vulkan concepts like loaders, devices, queues and surfaces.
|
with Vulkan concepts like loaders, devices, queues and surfaces and leaves it to
|
||||||
|
the Vulkan documentation to explain the details of Vulkan functions.
|
||||||
|
|
||||||
To develop for Vulkan you should install an SDK for your platform, for example
|
To develop for Vulkan you should install an SDK for your platform, for example
|
||||||
the [LunarG Vulkan SDK](https://vulkan.lunarg.com/). Apart from the headers and
|
the [LunarG Vulkan SDK](https://vulkan.lunarg.com/). Apart from the headers and
|
||||||
@ -170,8 +171,8 @@ an existing Vulkan surface.
|
|||||||
@section vulkan_window Creating the window
|
@section vulkan_window Creating the window
|
||||||
|
|
||||||
Unless you will be using OpenGL or OpenGL ES with the same window as Vulkan,
|
Unless you will be using OpenGL or OpenGL ES with the same window as Vulkan,
|
||||||
there is no need to create a context. You can disable context creation by
|
there is no need to create a context. You can disable context creation with the
|
||||||
setting the [GLFW_CLIENT_API](@ref window_hints_ctx) hint to `GLFW_NO_API`.
|
[GLFW_CLIENT_API](@ref window_hints_ctx) hint.
|
||||||
|
|
||||||
@code
|
@code
|
||||||
glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
|
glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
|
||||||
|
Loading…
Reference in New Issue
Block a user