Macros | Functions | Variables
dependencies/third-party/imgui/src/examples/example_win32_directx9/main.cpp File Reference
#include "imgui.h"
#include "imgui_impl_dx9.h"
#include "imgui_impl_win32.h"
#include <d3d9.h>
#include <dinput.h>
#include <tchar.h>
Include dependency graph for dependencies/third-party/imgui/src/examples/example_win32_directx9/main.cpp:

Go to the source code of this file.

Macros

#define DIRECTINPUT_VERSION   0x0800
 

Functions

void CleanupDeviceD3D ()
 
bool CreateDeviceD3D (HWND hWnd)
 
IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
 
int main (int, char **)
 
void ResetDevice ()
 
LRESULT WINAPI WndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
 

Variables

static D3DPRESENT_PARAMETERS g_d3dpp = {}
 
static LPDIRECT3D9 g_pD3D = NULL
 
static LPDIRECT3DDEVICE9 g_pd3dDevice = NULL
 

Macro Definition Documentation

◆ DIRECTINPUT_VERSION

#define DIRECTINPUT_VERSION   0x0800

Function Documentation

◆ CleanupDeviceD3D()

void CleanupDeviceD3D ( )

◆ CreateDeviceD3D()

bool CreateDeviceD3D ( HWND  hWnd)

◆ ImGui_ImplWin32_WndProcHandler()

IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler ( HWND  hWnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 272 of file imgui_impl_win32.cpp.

◆ main()

int main ( int  ,
char **   
)

◆ ResetDevice()

void ResetDevice ( )

◆ WndProc()

LRESULT WINAPI WndProc ( HWND  hWnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
)

Variable Documentation

◆ g_d3dpp

D3DPRESENT_PARAMETERS g_d3dpp = {}
static

◆ g_pD3D

LPDIRECT3D9 g_pD3D = NULL
static

◆ g_pd3dDevice

LPDIRECT3DDEVICE9 g_pd3dDevice = NULL
static


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:03