1
vote
3answers
1k views

Component-based Rendering

I have component Renderer, that Draws Texture2D (or sprite) Then I have method OnUpdate, and there should be my rendering code, something like spriteBatch.Draw(Texture, Vector2.Zero, Color.White) ...