Start converting D3D9 to D3D11

This commit is contained in:
2026-11-23 09:58:03 +01:00
parent 7aad3c6292
commit abb8da9cff
24 changed files with 1795 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()
{
}