Ryujinx/Ryujinx.Graphics/Gal/GalVertexAttrib.cs
gdkchan b9aa3966c0 Merge shader branch, adding support for GLSL decompilation, a macro
interpreter, and a rewrite of the GPU code.
2018-04-08 16:41:38 -03:00

27 lines
777 B
C#

namespace Ryujinx.Graphics.Gal
{
public struct GalVertexAttrib
{
public bool IsConst { get; private set; }
public int Offset { get; private set; }
public GalVertexAttribSize Size { get; private set; }
public GalVertexAttribType Type { get; private set; }
public bool IsBgra { get; private set; }
public GalVertexAttrib(
bool IsConst,
int Offset,
GalVertexAttribSize Size,
GalVertexAttribType Type,
bool IsBgra)
{
this.IsConst = IsConst;
this.Offset = Offset;
this.Size = Size;
this.Type = Type;
this.IsBgra = IsBgra;
}
}
}