mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-24 11:20:53 +00:00
VideoCommon: add mesh action to the graphics mod factory
This commit is contained in:
parent
2b98be4e22
commit
139eda0a82
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.h"
|
#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.h"
|
||||||
|
|
||||||
|
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/CustomMeshAction.h"
|
||||||
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.h"
|
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.h"
|
||||||
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/MoveAction.h"
|
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/MoveAction.h"
|
||||||
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/PrintAction.h"
|
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/PrintAction.h"
|
||||||
|
@ -39,6 +40,10 @@ std::unique_ptr<GraphicsModAction> Create(std::string_view name, const picojson:
|
||||||
{
|
{
|
||||||
return TransformAction::Create(json_data);
|
return TransformAction::Create(json_data);
|
||||||
}
|
}
|
||||||
|
else if (name == CustomMeshAction::factory_name)
|
||||||
|
{
|
||||||
|
return CustomMeshAction::Create(json_data, std::move(library), std::move(texture_cache));
|
||||||
|
}
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue