mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-02 00:42:25 -07:00
Merge shader branch, adding support for GLSL decompilation, a macro
interpreter, and a rewrite of the GPU code.
This commit is contained in:
22
Ryujinx.Graphics/Gal/GalColorF.cs
Normal file
22
Ryujinx.Graphics/Gal/GalColorF.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace Ryujinx.Graphics.Gal
|
||||
{
|
||||
public struct GalColorF
|
||||
{
|
||||
public float Red { get; private set; }
|
||||
public float Green { get; private set; }
|
||||
public float Blue { get; private set; }
|
||||
public float Alpha { get; private set; }
|
||||
|
||||
public GalColorF(
|
||||
float Red,
|
||||
float Green,
|
||||
float Blue,
|
||||
float Alpha)
|
||||
{
|
||||
this.Red = Red;
|
||||
this.Green = Green;
|
||||
this.Blue = Blue;
|
||||
this.Alpha = Alpha;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user