2022-03-05 06:41:14 +00:00
|
|
|
// Copyright 2022 Dolphin Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2022-07-02 19:49:51 +00:00
|
|
|
#include "VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h"
|
2022-03-05 06:41:14 +00:00
|
|
|
|
|
|
|
class GraphicsModAction
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
GraphicsModAction() = default;
|
|
|
|
virtual ~GraphicsModAction() = default;
|
|
|
|
GraphicsModAction(const GraphicsModAction&) = default;
|
|
|
|
GraphicsModAction(GraphicsModAction&&) = default;
|
|
|
|
GraphicsModAction& operator=(const GraphicsModAction&) = default;
|
|
|
|
GraphicsModAction& operator=(GraphicsModAction&&) = default;
|
|
|
|
|
2022-07-02 19:49:51 +00:00
|
|
|
virtual void OnDrawStarted(GraphicsModActionData::DrawStarted*) {}
|
|
|
|
virtual void OnEFB(GraphicsModActionData::EFB*) {}
|
2022-03-05 06:41:14 +00:00
|
|
|
virtual void OnXFB() {}
|
2022-07-02 19:49:51 +00:00
|
|
|
virtual void OnProjection(GraphicsModActionData::Projection*) {}
|
|
|
|
virtual void OnProjectionAndTexture(GraphicsModActionData::Projection*) {}
|
2022-10-29 00:24:43 +00:00
|
|
|
virtual void OnTextureLoad(GraphicsModActionData::TextureLoad*) {}
|
2022-03-05 06:41:14 +00:00
|
|
|
virtual void OnFrameEnd() {}
|
|
|
|
};
|