From 654e617fe78b0f5cc86d0bcf0625301abff168f5 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sun, 29 Dec 2019 14:41:50 -0300 Subject: Some code cleanup --- Ryujinx.Graphics.GAL/ColorF.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Ryujinx.Graphics.GAL/ColorF.cs (limited to 'Ryujinx.Graphics.GAL/ColorF.cs') 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; + } + } +} -- cgit v1.2.3