2018-02-20 12:09:23 -08:00
|
|
|
namespace Ryujinx.Graphics.Gal
|
2018-02-04 15:08:20 -08:00
|
|
|
{
|
|
|
|
public struct GalVertexAttrib
|
|
|
|
{
|
2018-10-12 18:37:01 -07:00
|
|
|
public int Index { get; private set; }
|
|
|
|
public bool IsConst { get; private set; }
|
|
|
|
public int Offset { get; private set; }
|
2018-11-28 14:18:09 -08:00
|
|
|
public byte[] Data { get; private set; }
|
2018-02-04 15:08:20 -08:00
|
|
|
|
|
|
|
public GalVertexAttribSize Size { get; private set; }
|
|
|
|
public GalVertexAttribType Type { get; private set; }
|
|
|
|
|
|
|
|
public bool IsBgra { get; private set; }
|
|
|
|
|
|
|
|
public GalVertexAttrib(
|
2018-04-29 13:58:38 -07:00
|
|
|
int Index,
|
2018-02-04 15:08:20 -08:00
|
|
|
bool IsConst,
|
|
|
|
int Offset,
|
2018-11-28 14:18:09 -08:00
|
|
|
byte[] Data,
|
2018-02-04 15:08:20 -08:00
|
|
|
GalVertexAttribSize Size,
|
|
|
|
GalVertexAttribType Type,
|
|
|
|
bool IsBgra)
|
|
|
|
{
|
2018-04-29 13:58:38 -07:00
|
|
|
this.Index = Index;
|
2018-02-04 15:08:20 -08:00
|
|
|
this.IsConst = IsConst;
|
2018-11-28 14:18:09 -08:00
|
|
|
this.Data = Data;
|
2018-02-04 15:08:20 -08:00
|
|
|
this.Offset = Offset;
|
|
|
|
this.Size = Size;
|
|
|
|
this.Type = Type;
|
|
|
|
this.IsBgra = IsBgra;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|