Phase 5 step 2
This commit is contained in:
@@ -5,14 +5,15 @@
|
||||
#include <chrono>
|
||||
#include <vector>
|
||||
|
||||
struct RenderStateCompositionInput
|
||||
struct LayeredRenderStateInput
|
||||
{
|
||||
const std::vector<RuntimeRenderState>* baseLayerStates = nullptr;
|
||||
RuntimeLiveState* liveState = nullptr;
|
||||
bool allowLiveCommits = false;
|
||||
bool collectLiveCommitRequests = true;
|
||||
double liveSmoothing = 0.0;
|
||||
std::chrono::milliseconds liveCommitDelay = std::chrono::milliseconds(150);
|
||||
const std::vector<RuntimeRenderState>* basePersistedLayerStates = nullptr;
|
||||
const std::vector<RuntimeRenderState>* committedLiveLayerStates = nullptr;
|
||||
RuntimeLiveState* transientAutomationOverlay = nullptr;
|
||||
bool allowTransientAutomationCommits = false;
|
||||
bool collectTransientAutomationCommitRequests = true;
|
||||
double transientAutomationSmoothing = 0.0;
|
||||
std::chrono::milliseconds transientAutomationCommitDelay = std::chrono::milliseconds(150);
|
||||
std::chrono::steady_clock::time_point now = std::chrono::steady_clock::now();
|
||||
};
|
||||
|
||||
@@ -26,5 +27,5 @@ struct RenderStateCompositionResult
|
||||
class RenderStateComposer
|
||||
{
|
||||
public:
|
||||
RenderStateCompositionResult BuildFrameState(const RenderStateCompositionInput& input) const;
|
||||
RenderStateCompositionResult BuildFrameState(const LayeredRenderStateInput& input) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user