25 lines
639 B
C++
25 lines
639 B
C++
#pragma once
|
|
|
|
#include "RenderEngine.h"
|
|
|
|
#include <vector>
|
|
|
|
class RuntimeServices;
|
|
|
|
class RuntimeServiceLiveBridge
|
|
{
|
|
public:
|
|
static void DrainServiceEvents(RuntimeServices& runtimeServices, RenderEngine& renderEngine);
|
|
static void QueueServiceCommitRequests(
|
|
RuntimeServices& runtimeServices,
|
|
const std::vector<RenderEngine::OscOverlayCommitRequest>& commitRequests);
|
|
static bool PrepareLiveRenderLayerStates(
|
|
RuntimeServices& runtimeServices,
|
|
RenderEngine& renderEngine,
|
|
bool useCommittedLayerStates,
|
|
unsigned renderWidth,
|
|
unsigned renderHeight,
|
|
double oscSmoothing,
|
|
std::vector<RuntimeRenderState>& layerStates);
|
|
};
|