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

Go to the source code of this file.

Macros

#define DIRECTINPUT_VERSION   0x0800
 

Functions

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

Variables

static ID3D10RenderTargetView * g_mainRenderTargetView = NULL
 
static ID3D10Device * g_pd3dDevice = NULL
 
static IDXGISwapChain * g_pSwapChain = NULL
 

Macro Definition Documentation

◆ DIRECTINPUT_VERSION

#define DIRECTINPUT_VERSION   0x0800

Function Documentation

◆ CleanupDeviceD3D()

void CleanupDeviceD3D ( )

◆ CleanupRenderTarget()

void CleanupRenderTarget ( )

◆ CreateDeviceD3D()

bool CreateDeviceD3D ( HWND  hWnd)

◆ CreateRenderTarget()

void CreateRenderTarget ( )

◆ 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 **   
)

◆ WndProc()

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

Variable Documentation

◆ g_mainRenderTargetView

ID3D10RenderTargetView* g_mainRenderTargetView = NULL
static

◆ g_pd3dDevice

ID3D10Device* g_pd3dDevice = NULL
static

◆ g_pSwapChain

IDXGISwapChain* g_pSwapChain = NULL
static


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