Functions | Variables
dependencies/third-party/imgui/src/examples/example_sdl_directx11/main.cpp File Reference
#include "imgui.h"
#include "imgui_impl_sdl.h"
#include "imgui_impl_dx11.h"
#include <d3d11.h>
#include <stdio.h>
#include <SDL.h>
#include <SDL_syswm.h>
Include dependency graph for dependencies/third-party/imgui/src/examples/example_sdl_directx11/main.cpp:

Go to the source code of this file.

Functions

void CleanupDeviceD3D ()
 
void CleanupRenderTarget ()
 
bool CreateDeviceD3D (HWND hWnd)
 
void CreateRenderTarget ()
 
int main (int, char **)
 

Variables

static ID3D11RenderTargetView * g_mainRenderTargetView = NULL
 
static ID3D11Device * g_pd3dDevice = NULL
 
static ID3D11DeviceContext * g_pd3dDeviceContext = NULL
 
static IDXGISwapChain * g_pSwapChain = NULL
 

Function Documentation

◆ CleanupDeviceD3D()

void CleanupDeviceD3D ( )

◆ CleanupRenderTarget()

void CleanupRenderTarget ( )

◆ CreateDeviceD3D()

bool CreateDeviceD3D ( HWND  hWnd)

◆ CreateRenderTarget()

void CreateRenderTarget ( )

◆ main()

int main ( int  ,
char **   
)

Variable Documentation

◆ g_mainRenderTargetView

ID3D11RenderTargetView* g_mainRenderTargetView = NULL
static

◆ g_pd3dDevice

ID3D11Device* g_pd3dDevice = NULL
static

◆ g_pd3dDeviceContext

ID3D11DeviceContext* g_pd3dDeviceContext = NULL
static

◆ g_pSwapChain

IDXGISwapChain* g_pSwapChain = NULL
static


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