16 #pragma warning( push )
17 #pragma warning( disable : 4251 )
34 #define CPU_SIDE_COMPILATION 1
35 #include <../data/shaders/lights/DtLightIndexData.h>
36 #undef CPU_SIDE_COMPILATION
38 struct DtLightScreenSpacePerViewData;
72 virtual uint32 gridMaxDimsFlattened(
void)
const;
75 virtual void update(
const std::vector<const DtLight*>& frustumVisibleLights
76 ,
const std::vector<DtLight*>& packedLights
80 virtual const DtLightIndexData* tileLightIndexListsPtr()
const;
83 virtual uint32 totalTileLightIndexListLength()
const;
87 virtual void updateToAccountForScreenRes(
const Vector2_uint32& viewportSize);
static const Vector2_uint32 theInitialMaxScreenResolution
Definition: DtTileSpaceLightGrid.h:90
Vector2_uint32 myGridMaxDims
Definition: DtTileSpaceLightGrid.h:98
Screen Space Rectangle class.
Camera forward declarations.
Vector2_uint32 myTileSize
Definition: DtTileSpaceLightGrid.h:94
std::vector< DtLightIndexData > myTileLightIndexLists
Definition: DtTileSpaceLightGrid.h:100
Vector2_uint32 myCurrentMaxScreenResolution
Definition: DtTileSpaceLightGrid.h:96
Class doing all the heavy lifting in regards of forward+ lighting.
Definition: DtTileSpaceLightGrid.h:42
unsigned int uint32
Definition: DtCommonTypes.h:28
#define DT_DLL_VRVGRAPHICSUTILS
Definition: vrvGraphicsUtils.h:18
Helpers to easily define forward declarations.