diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2022-07-02 14:49:51 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2022-10-09 00:00:01 -0500 |
| commit | bc360584a3a8a8902f50642496b2d1287e5088ac (patch) | |
| tree | 335aac640b71462ecbe3e7ba672be08c9d0255f3 /Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h | |
| parent | 6cf99195c645f54d54c72322ad0312a0e56bc985 (diff) | |
VideoCommon: add structures to graphics mods to allow for future adding or removing parameters with less code overhead
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h')
| -rw-r--r-- | Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h new file mode 100644 index 0000000000..c073adc445 --- /dev/null +++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h @@ -0,0 +1,29 @@ +// Copyright 2022 Dolphin Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "Common/CommonTypes.h" +#include "Common/Matrix.h" + +namespace GraphicsModActionData +{ +struct DrawStarted +{ + bool* skip; +}; + +struct EFB +{ + u32 texture_width; + u32 texture_height; + bool* skip; + u32* scaled_width; + u32* scaled_height; +}; + +struct Projection +{ + Common::Matrix44* matrix; +}; +} // namespace GraphicsModActionData |
