osb/source/application/StarApplication.cpp

32 lines
699 B
C++
Raw Normal View History

2023-06-20 04:33:09 +00:00
#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() {}
}