SpriteRenderer is our primary component for rendering sprites on the screen through objects. Sprite object already use Texture IDs via Texture2D, so its time to give the renderer utility a non-immediate-mode route for rendering:
a Mesh2D to work off of will enable it access to non-immediate mode rendering.
for now, handle sending the mesh's data to GL inside SpriteRenderer - effectively deprecating ScreenHandler.
SpriteRenderer
handling a mesh as described by #4SpriteRenderer
is our primary component for rendering sprites on the screen through objects.Sprite
object already use Texture IDs viaTexture2D
, so its time to give the renderer utility a non-immediate-mode route for rendering:Mesh2D
to work off of will enable it access to non-immediate mode rendering.SpriteRenderer
- effectively deprecating ScreenHandler.