Added: D3D9 project and window creation
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#include "Direct3D.h"
|
||||
|
||||
INT Direct3D::init(HWND hWnd, UINT width, UINT height, BOOL isFullscreen)
|
||||
{
|
||||
// 1. create connection to Direct3D API
|
||||
|
||||
// 2. check compatibility
|
||||
|
||||
// 3. define presentation parameters
|
||||
|
||||
// 4. create Direct3D device
|
||||
|
||||
// 5. tidy up
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Direct3D::beginScene()
|
||||
{
|
||||
}
|
||||
|
||||
void Direct3D::endScene()
|
||||
{
|
||||
}
|
||||
|
||||
void Direct3D::deInit()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user