Files
video-shader-toys/apps/LoopThroughWithOpenGLCompositing/runtime/RuntimeParameterUtils.h
Aiden 0bfffa6552
Some checks failed
CI / Native Windows Build And Tests (push) Has been cancelled
CI / React UI Build (push) Has been cancelled
CI / Windows Release Package (push) Has been cancelled
Refactor
2026-05-06 09:28:46 +10:00

11 lines
413 B
C++

#pragma once
#include "RuntimeJson.h"
#include "ShaderTypes.h"
#include <string>
std::string MakeSafePresetFileStem(const std::string& presetName);
ShaderParameterValue DefaultValueForDefinition(const ShaderParameterDefinition& definition);
bool NormalizeAndValidateParameterValue(const ShaderParameterDefinition& definition, const JsonValue& value, ShaderParameterValue& normalizedValue, std::string& error);