25 lines
523 B
C++
25 lines
523 B
C++
#pragma once
|
|
|
|
#include "RuntimeLiveState.h"
|
|
|
|
#include <vector>
|
|
|
|
struct RenderStateCompositionInput
|
|
{
|
|
std::vector<RuntimeRenderState> baseLayerStates;
|
|
RuntimeLiveState* liveState = nullptr;
|
|
RuntimeLiveStateApplyOptions liveStateOptions;
|
|
};
|
|
|
|
struct RenderStateCompositionResult
|
|
{
|
|
std::vector<RuntimeRenderState> layerStates;
|
|
std::vector<RuntimeLiveOscCommitRequest> commitRequests;
|
|
};
|
|
|
|
class RenderStateComposer
|
|
{
|
|
public:
|
|
RenderStateCompositionResult BuildFrameState(const RenderStateCompositionInput& input) const;
|
|
};
|