Add D3D11 project

This commit is contained in:
2026-11-23 13:32:53 +01:00
parent abf85aa6f7
commit 024a283898
24 changed files with 1793 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
#include "Light.h"
UINT Light::init(D3DLIGHT9& lightData)
{
_lightData = lightData;
return 0;
}
void Light::update(FLOAT dt)
{
}
void Light::render(IDirect3DDevice9* pD3DDevice)
{
pD3DDevice->SetLight(0, &_lightData);
pD3DDevice->LightEnable(0, TRUE);
}
void Light::deInit()
{
}