add transform to graphics mod action factory

This commit is contained in:
iwubcode 2024-02-04 15:32:33 -06:00
commit 2b98be4e22

View file

@ -8,6 +8,7 @@
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/PrintAction.h"
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.h"
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/SkipAction.h"
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/TransformAction.h"
namespace GraphicsModActionFactory
{
@ -34,6 +35,10 @@ std::unique_ptr<GraphicsModAction> Create(std::string_view name, const picojson:
{
return CustomPipelineAction::Create(json_data, std::move(library));
}
else if (name == TransformAction::factory_name)
{
return TransformAction::Create(json_data);
}
return nullptr;
}