osb/source/application/StarApplication.cpp
2023-06-20 14:33:09 +10:00

32 lines
699 B
C++

#include "StarApplication.hpp"
#include "StarTime.hpp"
#include "StarLogging.hpp"
namespace Star {
void Application::startup(StringList const&) {}
void Application::applicationInit(ApplicationControllerPtr appController) {
m_appController = move(appController);
}
void Application::renderInit(RendererPtr renderer) {
m_renderer = move(renderer);
}
void Application::windowChanged(WindowMode, Vec2U) {}
void Application::processInput(InputEvent const&) {}
void Application::update() {}
void Application::render() {}
void Application::getAudioData(int16_t* samples, size_t sampleCount) {
for (size_t i = 0; i < sampleCount; ++i)
samples[i] = 0;
}
void Application::shutdown() {}
}