81 void draw()
const override;
Background job which stays part of the main loop independent of the active jngl::Scene.
Records video and audio output to a file.
~VideoRecorder() override
Finalizes and closes the video file.
void draw() const override
Draw the game state.
VideoRecorder(std::string_view filename)
Creates a new video recorder that writes to the specified file (saved in your data/ directory).
void fillAudioBuffer(std::unique_ptr< float[]> samples)
Assumes 44.1 kHz, stereo audio input and getting called exactly getStepsPerSecond() times per second.
void step() override
Advance the game logic.
Contains jngl::Job class and related functions.