libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Fast::GuiWindowInitData Struct Reference

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 
 
};  
 

Detailed Description

Backend-specific data required to initialise the ImGui rendering context.

The active union member is selected based on the graphics backend:

  • Dx11 for DirectX 11 (Windows).
  • Opengl for OpenGL (Linux/macOS via SDL).
  • Metal for Metal (macOS via SDL).
  • Gx2 for the GX2 API (Wii U / CafĂ© OS).

Member Data Documentation

◆ [union]

union { ... } Fast::GuiWindowInitData

◆ Context

void* Fast::GuiWindowInitData::Context

SDL_GLContext.

◆ Device

void* Fast::GuiWindowInitData::Device

ID3D11Device*.

◆ DeviceContext

void* Fast::GuiWindowInitData::DeviceContext

ID3D11DeviceContext*.

◆ [struct]

struct { ... } Fast::GuiWindowInitData::Dx11

◆ [struct]

struct { ... } Fast::GuiWindowInitData::Gx2

◆ Height

uint32_t Fast::GuiWindowInitData::Height

Framebuffer height in pixels.

◆ [struct]

struct { ... } Fast::GuiWindowInitData::Metal

◆ [struct]

struct { ... } Fast::GuiWindowInitData::Opengl

◆ Renderer

SDL_Renderer* Fast::GuiWindowInitData::Renderer

SDL_Renderer* (for Metal layer)

◆ Width

uint32_t Fast::GuiWindowInitData::Width

Framebuffer width in pixels.

◆ Window

void* Fast::GuiWindowInitData::Window

HWND.

SDL_Window*.


The documentation for this struct was generated from the following file: