![]() |
VR-Forces 4.10 Class Documentation
|
Class doing all the heavy lifting in regards of forward+ lighting. More...
Public Member Functions | |
| DtTileSpaceLightGrid () | |
| CTOR. More... | |
| virtual | ~DtTileSpaceLightGrid () |
| DTOR. More... | |
| virtual void | setTileSize (const Vector2_uint32 &tileSize) |
| set the tile size More... | |
| virtual const Vector2_uint32 & | tileSize (void) const |
| get the tile size More... | |
| virtual const Vector2_uint32 | tileSizeLog2 (void) const |
| get the tile size log 2 More... | |
| virtual const Vector2_uint32 & | gridMaxDims (void) const |
| Get the num of tiles in x and y for the current internal max resolution. More... | |
| virtual uint32 | gridMaxDimsFlattened (void) const |
| Get the numTilesX * numTilesY. More... | |
| virtual void | update (const VectorLights &frustumVisibleLights, const VectorLights &packedLights, const Vector2_uint32 &viewportSize) |
| Update to bin lights affecting frustum into tiles. More... | |
| virtual const DtLightIndexData * | tileLightIndexListsPtr () const |
| tile light index list pointer More... | |
| virtual uint32 | totalTileLightIndexListLength () const |
| tile light index list length More... | |
Protected Member Functions | |
| virtual void | updateToAccountForScreenRes (const Vector2_uint32 &viewportSize) |
| internal More... | |
Protected Attributes | |
| Vector2_uint32 | myTileSize |
| Vector2_uint32 | myCurrentMaxScreenResolution |
| Vector2_uint32 | myGridMaxDims |
| std::vector< DtLightIndexData > | myTileLightIndexLists |
Static Protected Attributes | |
| static const Vector2_uint32 | theInitialMaxScreenResolution |
Private Member Functions | |
| DtTileSpaceLightGrid (const DtTileSpaceLightGrid &other)=delete | |
| not allowed More... | |
| DtTileSpaceLightGrid & | operator= (const DtTileSpaceLightGrid &other)=delete |
| not allowed More... | |
Class doing all the heavy lifting in regards of forward+ lighting.
| makVrv::DtTileSpaceLightGrid::DtTileSpaceLightGrid | ( | ) |
CTOR.
|
virtual |
DTOR.
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
virtual |
set the tile size
|
virtual |
get the tile size
|
virtual |
get the tile size log 2
|
virtual |
Get the num of tiles in x and y for the current internal max resolution.
|
virtual |
Get the numTilesX * numTilesY.
|
virtual |
Update to bin lights affecting frustum into tiles.
|
virtual |
tile light index list pointer
|
virtual |
tile light index list length
|
protectedvirtual |
internal
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |