Alientech 0.01
An extendable game engine
C:/Alientech/main.cpp File Reference
#include <windows.h>
#include <windowsx.h>
#include <d3d10.h>
#include <d3dx10.h>

Go to the source code of this file.

Functions

void initD3D (HWND hWnd)
void render_frame (void)
void cleanD3D (void)
LRESULT CALLBACK WindowProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)

Variables

ID3D10Device * device
ID3D10RenderTargetView * rtv
IDXGISwapChain * swapchain

Function Documentation

void cleanD3D ( void  )
void initD3D ( HWND  hWnd)
void render_frame ( void  )
LRESULT CALLBACK WindowProc ( HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)
int WINAPI WinMain ( HINSTANCE  hInstance,
HINSTANCE  hPrevInstance,
LPSTR  lpCmdLine,
int  nCmdShow 
)

Definition at line 26 of file main.cpp.


Variable Documentation

ID3D10Device* device

Definition at line 12 of file main.cpp.

ID3D10RenderTargetView* rtv

Definition at line 13 of file main.cpp.

IDXGISwapChain* swapchain

Definition at line 14 of file main.cpp.