2018-02-20 21:09:23 +01:00
|
|
|
namespace Ryujinx.Graphics.Gal
|
2018-02-05 00:08:20 +01:00
|
|
|
{
|
|
|
|
public struct GalVertexAttrib
|
|
|
|
{
|
2018-04-29 22:58:38 +02:00
|
|
|
public int Index { get; private set; }
|
2018-02-05 00:08:20 +01:00
|
|
|
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(
|
2018-04-29 22:58:38 +02:00
|
|
|
int Index,
|
2018-02-05 00:08:20 +01:00
|
|
|
bool IsConst,
|
|
|
|
int Offset,
|
|
|
|
GalVertexAttribSize Size,
|
|
|
|
GalVertexAttribType Type,
|
|
|
|
bool IsBgra)
|
|
|
|
{
|
2018-04-29 22:58:38 +02:00
|
|
|
this.Index = Index;
|
2018-02-05 00:08:20 +01:00
|
|
|
this.IsConst = IsConst;
|
|
|
|
this.Offset = Offset;
|
|
|
|
this.Size = Size;
|
|
|
|
this.Type = Type;
|
|
|
|
this.IsBgra = IsBgra;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|