mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-23 18:59:19 +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/Actions/CustomMeshAction.h"
|
||||
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.h"
|
||||
#include "VideoCommon/GraphicsModSystem/Runtime/Actions/MoveAction.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);
|
||||
}
|
||||
else if (name == CustomMeshAction::factory_name)
|
||||
{
|
||||
return CustomMeshAction::Create(json_data, std::move(library), std::move(texture_cache));
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue