mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
VideoCommon: add structures to graphics mods to allow for future adding or removing parameters with less code overhead
This commit is contained in:
@ -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