intial phase 1 subsytem split
All checks were successful
CI / React UI Build (push) Successful in 11s
CI / Native Windows Build And Tests (push) Successful in 2m31s
CI / Windows Release Package (push) Successful in 2m32s

This commit is contained in:
Aiden
2026-05-10 23:03:15 +10:00
parent 618831d578
commit 3629227aa9
12 changed files with 348 additions and 61 deletions

View File

@@ -0,0 +1,41 @@
#include "RuntimeSnapshotProvider.h"
RuntimeSnapshotProvider::RuntimeSnapshotProvider(RuntimeHost& runtimeHost) :
mRuntimeHost(runtimeHost)
{
}
bool RuntimeSnapshotProvider::BuildLayerPassFragmentShaderSources(const std::string& layerId, std::vector<ShaderPassBuildSource>& passSources, std::string& error) const
{
return mRuntimeHost.BuildLayerPassFragmentShaderSources(layerId, passSources, error);
}
std::vector<RuntimeRenderState> RuntimeSnapshotProvider::GetLayerRenderStates(unsigned outputWidth, unsigned outputHeight) const
{
return mRuntimeHost.GetLayerRenderStates(outputWidth, outputHeight);
}
bool RuntimeSnapshotProvider::TryGetLayerRenderStates(unsigned outputWidth, unsigned outputHeight, std::vector<RuntimeRenderState>& states) const
{
return mRuntimeHost.TryGetLayerRenderStates(outputWidth, outputHeight, states);
}
bool RuntimeSnapshotProvider::TryRefreshCachedLayerStates(std::vector<RuntimeRenderState>& states) const
{
return mRuntimeHost.TryRefreshCachedLayerStates(states);
}
void RuntimeSnapshotProvider::RefreshDynamicRenderStateFields(std::vector<RuntimeRenderState>& states) const
{
mRuntimeHost.RefreshDynamicRenderStateFields(states);
}
uint64_t RuntimeSnapshotProvider::GetRenderStateVersion() const
{
return mRuntimeHost.GetRenderStateVersion();
}
uint64_t RuntimeSnapshotProvider::GetParameterStateVersion() const
{
return mRuntimeHost.GetParameterStateVersion();
}