Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ emit()

virtual void Flint::Drawable::emit ( RenderQueue & queue) const
pure virtual

Emit this drawable's rendering work for the current frame.

Called once after submitted drawables have been sorted by DrawLayer. Implementations must enqueue work through queue rather than issuing immediate GPU commands.

Parameters
queueQueue receiving this drawable's rendering work.

Implemented in Flint::CircleShape, Flint::PrimitiveArray, Flint::RectangleShape, and Flint::Sprite.