|
libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
|
Backend-specific data required to initialise the ImGui rendering context. More...
#include <Fast3dGui.h>
Public Attributes | ||
| union { | ||
| struct { | ||
| void * Window | ||
| HWND. More... | ||
| void * DeviceContext | ||
| ID3D11DeviceContext*. More... | ||
| void * Device | ||
| ID3D11Device*. More... | ||
| } Dx11 | ||
| struct { | ||
| void * Window | ||
| SDL_Window*. More... | ||
| void * Context | ||
| SDL_GLContext. More... | ||
| } Opengl | ||
| struct { | ||
| void * Window | ||
| SDL_Window*. More... | ||
| SDL_Renderer * Renderer | ||
| SDL_Renderer* (for Metal layer) More... | ||
| } Metal | ||
| struct { | ||
| uint32_t Width | ||
| Framebuffer width in pixels. More... | ||
| uint32_t Height | ||
| Framebuffer height in pixels. More... | ||
| } Gx2 | ||
| }; | ||
Backend-specific data required to initialise the ImGui rendering context.
The active union member is selected based on the graphics backend:
| union { ... } Fast::GuiWindowInitData |
| void* Fast::GuiWindowInitData::Context |
SDL_GLContext.
| void* Fast::GuiWindowInitData::Device |
ID3D11Device*.
| void* Fast::GuiWindowInitData::DeviceContext |
ID3D11DeviceContext*.
| struct { ... } Fast::GuiWindowInitData::Dx11 |
| struct { ... } Fast::GuiWindowInitData::Gx2 |
| uint32_t Fast::GuiWindowInitData::Height |
Framebuffer height in pixels.
| struct { ... } Fast::GuiWindowInitData::Metal |
| struct { ... } Fast::GuiWindowInitData::Opengl |
| SDL_Renderer* Fast::GuiWindowInitData::Renderer |
SDL_Renderer* (for Metal layer)
| uint32_t Fast::GuiWindowInitData::Width |
Framebuffer width in pixels.
| void* Fast::GuiWindowInitData::Window |
HWND.
SDL_Window*.