Added: D3D11 project
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#include "Direct3D.h"
|
||||
|
||||
INT Direct3D::init(HWND hWnd, UINT width, UINT height, BOOL isFullscreen)
|
||||
{
|
||||
// 1. define swap chain description
|
||||
|
||||
// 2. create Direct3D device, device context & swap chain
|
||||
|
||||
// 3. create render target
|
||||
|
||||
// 4. create depth stencil buffer
|
||||
|
||||
// 5. create rasterizer state
|
||||
|
||||
// 6. describe viewport
|
||||
|
||||
// 7. setup render pipeline (device context)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Direct3D::beginScene()
|
||||
{
|
||||
}
|
||||
|
||||
void Direct3D::endScene()
|
||||
{
|
||||
}
|
||||
|
||||
void Direct3D::deInit()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user