Updated Getting Started (markdown)
parent
b5c028c64b
commit
c269ca1d54
@ -10,7 +10,8 @@
|
||||
- [Example: If you are using SDL2 + OpenGL/WebGL](#example-if-you-are-using-sdl2--openglwebgl)
|
||||
- [Example: If you are using SDL2 + Vulkan](#example-if-you-are-using-sdl2--vulkan)
|
||||
- [Using another combination of backends?](#using-another-combination-of-backends)
|
||||
- [Additional code to enable Multi-viewports mode](#additional-code-to-enable-multi-viewports-mode)
|
||||
- [Additional code to enable Docking](#additional-code-to-enable-docking)
|
||||
- [Additional code to enable Multi-viewports](#additional-code-to-enable-multi-viewports)
|
||||
|
||||
## Preamble
|
||||
|
||||
@ -411,7 +412,13 @@ That should be all!
|
||||
The various examples above should reflect integration with a majority of backends, so you can follow the same logic.
|
||||
Some backends require more information from you (e.g. in particular Vulkan and DirectX12 rendering backends). When in doubt, refer to the corresponding [examples](https://github.com/ocornut/imgui/tree/master/examples) application.
|
||||
|
||||
## Additional code to enable Multi-viewports mode
|
||||
## Additional code to enable Docking
|
||||
|
||||
To use the [Docking](https://github.com/ocornut/imgui/wiki/Docking) feature, pull the `docking` branch and enable the configuration flag:
|
||||
```cpp
|
||||
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
||||
```
|
||||
## Additional code to enable Multi-viewports
|
||||
|
||||
To use the [Multi-viewports](https://github.com/ocornut/imgui/wiki/Multi-Viewports) feature, pull the `docking` branch and enable the configuration flag:
|
||||
```cpp
|
||||
|
Loading…
Reference in New Issue
Block a user