aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/ColorF.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2019-12-29 14:41:50 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit654e617fe78b0f5cc86d0bcf0625301abff168f5 (patch)
tree01f2eba89039698bec583a3e29c4c50d0e20b8d1 /Ryujinx.Graphics.GAL/ColorF.cs
parentaf8498d6790ba83f1cf87eccf5f272f2ccbeb169 (diff)
Some code cleanup
Diffstat (limited to 'Ryujinx.Graphics.GAL/ColorF.cs')
-rw-r--r--Ryujinx.Graphics.GAL/ColorF.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.GAL/ColorF.cs b/Ryujinx.Graphics.GAL/ColorF.cs
new file mode 100644
index 00000000..2e971a62
--- /dev/null
+++ b/Ryujinx.Graphics.GAL/ColorF.cs
@@ -0,0 +1,18 @@
+namespace Ryujinx.Graphics.GAL
+{
+ public struct ColorF
+ {
+ public float Red { get; }
+ public float Green { get; }
+ public float Blue { get; }
+ public float Alpha { get; }
+
+ public ColorF(float red, float green, float blue, float alpha)
+ {
+ Red = red;
+ Green = green;
+ Blue = blue;
+ Alpha = alpha;
+ }
+ }
+}