engine
engine copied to clipboard
Refactor: opt memory for texture of font atlas
Summary by CodeRabbit
-
New Features
- Enhanced dynamic texture resizing capabilities for improved character rendering.
- Added error handling for maximum texture size exceedance.
-
Bug Fixes
- Improved texture management logic to prevent issues related to font atlas creation.
-
Refactor
- Simplified the creation and configuration process for
Texture2D
within the font atlas.
- Simplified the creation and configuration process for