Feature description
I find myself needing to debug dynamic textures quite a lot. Adding debug methods to my project has become quite bloaty very quickly. It'd be cool to be able to draw TextureRects to the screen with custom textures/materials/shaders using DebugDraw2D.
Here's a shoddy example:
Implementation Ideas
set_texture_rect, similar to set_text
Allow custom Texture, Material & Shader.
Maybe display the chosen label above the texture.
Feature description
I find myself needing to debug dynamic textures quite a lot. Adding debug methods to my project has become quite bloaty very quickly. It'd be cool to be able to draw TextureRects to the screen with custom textures/materials/shaders using DebugDraw2D.
Here's a shoddy example:
Implementation Ideas
set_texture_rect, similar toset_textAllow custom Texture, Material & Shader.
Maybe display the chosen label above the texture.