#pragma once #include #define LIGHT_TYPE_DIRECTIONAL 0 #define LIGHT_TYPE_POINT 1 #define LIGHT_TYPE_SPOT 2 struct Light { int Type; DirectX::XMFLOAT3 Direction; float Range; DirectX::XMFLOAT3 Position; float Intensity; DirectX::XMFLOAT3 Color; float SpotFalloff; DirectX::XMFLOAT3 Padding; };