-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
102 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#pragma once | ||
|
||
|
||
namespace HelloImGui | ||
{ | ||
/** | ||
@@md#RendererBackendOptions | ||
**RendererBackendOptions** is a struct that contains options for the renderer backend (Metal, Vulkan, DirectX, ...). | ||
Members: | ||
* `metalOptions`: _MetalOptions_. Options for the Metal backend (only filled if the Metal backend is available) | ||
**MetalOptions** is a struct that contains options for the Metal backend. | ||
Members: | ||
* `fixmeDummyOptionName`: _bool, default=false_. Dummy option for Metal backend (to be completed) | ||
Note: If using the Metal, Vulkan or DirectX rendering backend, you can find some interesting pointers inside | ||
`src/hello_imgui/internal/backend_impls/rendering_metal.h` | ||
`src/hello_imgui/internal/backend_impls/rendering_vulkan.h` | ||
`src/hello_imgui/internal/backend_impls/rendering_dx11.h` | ||
`src/hello_imgui/internal/backend_impls/rendering_dx12.h` | ||
@@md | ||
*/ | ||
|
||
|
||
#ifdef HELLOIMGUI_HAS_METAL | ||
struct MetalOptions | ||
{ | ||
// to be completed | ||
bool fixmeDummyOptionName = false; | ||
}; | ||
#endif | ||
|
||
struct RendererBackendOptions | ||
{ | ||
#ifdef HELLOIMGUI_HAS_METAL | ||
MetalOptions metalOptions; | ||
#endif | ||
}; | ||
|
||
} // namespace HelloImGui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters