VideoCommon: add structures to graphics mods to allow for future adding or removing parameters with less code overhead
This commit is contained in:
1 parent
6cf99195c6
commit
bc360584a3
16 files changed
+145
-81
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user