Classes | Macros | Functions | Variables
imgui_impl_dx9.cpp File Reference
#include "imgui.h"
#include "imgui_impl_dx9.h"
#include <d3d9.h>
#include <dinput.h>
Include dependency graph for imgui_impl_dx9.cpp:

Go to the source code of this file.

Classes

struct  CUSTOMVERTEX
 

Macros

#define D3DFVF_CUSTOMVERTEX   (D3DFVF_XYZ|D3DFVF_DIFFUSE|D3DFVF_TEX1)
 
#define DIRECTINPUT_VERSION   0x0800
 

Functions

bool ImGui_ImplDX9_CreateDeviceObjects ()
 
static bool ImGui_ImplDX9_CreateFontsTexture ()
 
bool ImGui_ImplDX9_Init (IDirect3DDevice9 *device)
 
void ImGui_ImplDX9_InvalidateDeviceObjects ()
 
void ImGui_ImplDX9_NewFrame ()
 
void ImGui_ImplDX9_RenderDrawData (ImDrawData *draw_data)
 
static void ImGui_ImplDX9_SetupRenderState (ImDrawData *draw_data)
 
void ImGui_ImplDX9_Shutdown ()
 

Variables

static LPDIRECT3DTEXTURE9 g_FontTexture = NULL
 
static int g_IndexBufferSize = 10000
 
static LPDIRECT3DDEVICE9 g_pd3dDevice = NULL
 
static LPDIRECT3DINDEXBUFFER9 g_pIB = NULL
 
static LPDIRECT3DVERTEXBUFFER9 g_pVB = NULL
 
static int g_VertexBufferSize = 5000
 

Macro Definition Documentation

◆ D3DFVF_CUSTOMVERTEX

#define D3DFVF_CUSTOMVERTEX   (D3DFVF_XYZ|D3DFVF_DIFFUSE|D3DFVF_TEX1)

Definition at line 46 of file imgui_impl_dx9.cpp.

◆ DIRECTINPUT_VERSION

#define DIRECTINPUT_VERSION   0x0800

Definition at line 30 of file imgui_impl_dx9.cpp.

Function Documentation

◆ ImGui_ImplDX9_CreateDeviceObjects()

bool ImGui_ImplDX9_CreateDeviceObjects ( )

Definition at line 262 of file imgui_impl_dx9.cpp.

◆ ImGui_ImplDX9_CreateFontsTexture()

static bool ImGui_ImplDX9_CreateFontsTexture ( )
static

Definition at line 237 of file imgui_impl_dx9.cpp.

◆ ImGui_ImplDX9_Init()

bool ImGui_ImplDX9_Init ( IDirect3DDevice9 *  device)

Definition at line 219 of file imgui_impl_dx9.cpp.

◆ ImGui_ImplDX9_InvalidateDeviceObjects()

void ImGui_ImplDX9_InvalidateDeviceObjects ( )

Definition at line 271 of file imgui_impl_dx9.cpp.

◆ ImGui_ImplDX9_NewFrame()

void ImGui_ImplDX9_NewFrame ( )

Definition at line 280 of file imgui_impl_dx9.cpp.

◆ ImGui_ImplDX9_RenderDrawData()

void ImGui_ImplDX9_RenderDrawData ( ImDrawData draw_data)

Definition at line 106 of file imgui_impl_dx9.cpp.

◆ ImGui_ImplDX9_SetupRenderState()

static void ImGui_ImplDX9_SetupRenderState ( ImDrawData draw_data)
static

Definition at line 48 of file imgui_impl_dx9.cpp.

◆ ImGui_ImplDX9_Shutdown()

void ImGui_ImplDX9_Shutdown ( )

Definition at line 231 of file imgui_impl_dx9.cpp.

Variable Documentation

◆ g_FontTexture

LPDIRECT3DTEXTURE9 g_FontTexture = NULL
static

Definition at line 37 of file imgui_impl_dx9.cpp.

◆ g_IndexBufferSize

int g_IndexBufferSize = 10000
static

Definition at line 38 of file imgui_impl_dx9.cpp.

◆ g_pd3dDevice

LPDIRECT3DDEVICE9 g_pd3dDevice = NULL
static

Definition at line 34 of file imgui_impl_dx9.cpp.

◆ g_pIB

LPDIRECT3DINDEXBUFFER9 g_pIB = NULL
static

Definition at line 36 of file imgui_impl_dx9.cpp.

◆ g_pVB

LPDIRECT3DVERTEXBUFFER9 g_pVB = NULL
static

Definition at line 35 of file imgui_impl_dx9.cpp.

◆ g_VertexBufferSize

int g_VertexBufferSize = 5000
static

Definition at line 38 of file imgui_impl_dx9.cpp.



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