1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-08 07:09:52 +00:00

Add RenderState to be passed through the scene graph

This will eventually handle all mutable state during rendering
This commit is contained in:
fgenesis 2022-05-20 01:04:19 +02:00
parent b6c5d90d3a
commit 68b3c61852
57 changed files with 201 additions and 150 deletions

View file

@ -42,7 +42,7 @@ public:
return _points[y * _w + x];
}
virtual void onRender() const OVERRIDE;
virtual void onRender(const RenderState& rs) const OVERRIDE;
virtual void onUpdate(float dt);
virtual void onSetTexture();