|
terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Inheritance diagram for Terraria.Graphics.Light.LightingEngine:
Collaboration diagram for Terraria.Graphics.Light.LightingEngine:Classes | |
| struct | PerFrameLight |
Public Member Functions | |
| LightingEngine () | |
| void | AddLight (int x, int y, Vector3 color) |
| void | Clear () |
| LightMap | GetLightMap (out Rectangle lightMapRegion) |
| Vector3 | GetColor (int x, int y) |
| void | ProcessArea (Rectangle area) |
| void | Rebuild () |
| Rectangle | GetScanRegion () |
| unsafe void | ExportToMiniMap (int left, int top, int right, int bottom) |
Static Public Attributes | |
| const int | AREA_PADDING = 20 |
Properties | |
| ThreadedRenderManager.BatchProcessCallback | ExportBatchFinishedCallback [get, set] |
Private Types | |
| enum | EngineState { MinimapUpdate , ExportMetrics , Scan , Blur , Blur2 } |
Private Member Functions | |
| void | SetState () |
| void | ProcessScan (Rectangle area) |
| void | ProcessBlur () |
| void | ProcessBlur2 () |
| void | Present () |
| void | UpdateLightDecay () |
| void | ApplyPerFrameLights () |
| void | ExportBatchFinished (int index) |
| void | ExportToMiniMapThreaded (int firstTileX, int firstTileY, int lastTileX, int lastTileY) |
| void | ExportToMiniMap () |
Static Private Attributes | |
| const int | NON_VISIBLE_PADDING = 10 |
Definition at line 14 of file LightingEngine.cs.