Commit Graph
5 Commits
Author SHA1 Message Date
Stephen Thiebaud 690bd2b72c feat: deprecate swapto and reimplement basic api surface of managedrendertarget with target pools 2025-12-28 12:56:33 -05:00
Stephen Thiebaud 047332a217 feat: follow-up simplify handling of ManagedTargets 2025-11-13 13:15:15 -06:00
Wxo 7a7d271eef Fix: Remove ManagedTargets reinitialization in OnModLoad (#93)
Removed the unnecessary reinitialization of ManagedTargets in ModLoad because it removed some of the rendertargets on the mod that loaded before OnModLoad

(cherry picked from commit 70e56bd445884a4f5b914cafadef1cc6f628eaf6)
2025-11-13 13:14:11 -06:00
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00
Toasty 6bfe9987e3 Improved RenderTarget2D handling. (#1)
* - Added ManagedRenderTarget to better handle RenderTarget2Ds.
- Added a Graphics folder that contains the above.
- Made all existing RenderTarget2Ds use the above instead.
- Removed some old/reduntant loading code for metaballs.
- Moved PrimitiveTrail to the new Graphics folder.

* - Manually unload the event, as afaik TMod will not do this.
2023-11-01 15:47:58 -04:00