20 lines
700 B
C++
20 lines
700 B
C++
#pragma once
|
|
|
|
#include "LayerStackStore.h"
|
|
#include "RuntimeJson.h"
|
|
#include "ShaderPackageCatalog.h"
|
|
#include "ShaderTypes.h"
|
|
|
|
#include <map>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class RuntimeStateJson
|
|
{
|
|
public:
|
|
static JsonValue SerializeLayerStack(const LayerStackStore& layerStack, const ShaderPackageCatalog& shaderCatalog);
|
|
static JsonValue SerializeLayerStack(const std::vector<LayerStackStore::LayerPersistentState>& layers, const std::map<std::string, ShaderPackage>& packagesById);
|
|
static JsonValue SerializeParameterValue(const ShaderParameterDefinition& definition, const ShaderParameterValue& value);
|
|
static std::string TemporalHistorySourceToString(TemporalHistorySource source);
|
|
};
|