|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| struct | PerFrameLight |
Public Member Functions | |
| void | AddLight (int x, int y, Vector3 color) |
| void | Clear () |
| Vector3 | GetColor (int x, int y) |
| void | ProcessArea (Rectangle area) |
| void | Rebuild () |
Static Public Attributes | |
| const int | AREA_PADDING = 28 |
Private Types | |
| enum | EngineState { MinimapUpdate , ExportMetrics , Scan , Blur , Max } |
Private Member Functions | |
| void | IncrementState () |
| void | ProcessScan (Rectangle area) |
| void | ProcessBlur () |
| void | Present () |
| void | UpdateLightDecay () |
| void | ApplyPerFrameLights () |
| void | ExportToMiniMap () |
Private Attributes | |
| readonly List< PerFrameLight > | _perFrameLights = new List<PerFrameLight>() |
| TileLightScanner | _tileScanner = new TileLightScanner() |
| LightMap | _activeLightMap = new LightMap() |
| Rectangle | _activeProcessedArea |
| LightMap | _workingLightMap = new LightMap() |
| Rectangle | _workingProcessedArea |
| readonly Stopwatch | _timer = new Stopwatch() |
| EngineState | _state |
Static Private Attributes | |
| const int | NON_VISIBLE_PADDING = 18 |
Definition at line 9 of file LightingEngine.cs.