2018-02-20 20:09:23 +00:00
|
|
|
namespace Ryujinx.Graphics.Gal
|
2018-02-04 23:08:20 +00:00
|
|
|
{
|
|
|
|
public struct GalVertexAttrib
|
|
|
|
{
|
2018-10-13 02:37:01 +01:00
|
|
|
public int Index { get; private set; }
|
|
|
|
public bool IsConst { get; private set; }
|
|
|
|
public int Offset { get; private set; }
|
2018-11-28 22:18:09 +00:00
|
|
|
public byte[] Data { get; private set; }
|
2018-02-04 23:08:20 +00:00
|
|
|
|
|
|
|
public GalVertexAttribSize Size { get; private set; }
|
|
|
|
public GalVertexAttribType Type { get; private set; }
|
|
|
|
|
|
|
|
public bool IsBgra { get; private set; }
|
|
|
|
|
|
|
|
public GalVertexAttrib(
|
2019-03-04 01:45:25 +00:00
|
|
|
int index,
|
|
|
|
bool isConst,
|
|
|
|
int offset,
|
|
|
|
byte[] data,
|
|
|
|
GalVertexAttribSize size,
|
|
|
|
GalVertexAttribType type,
|
|
|
|
bool isBgra)
|
2018-02-04 23:08:20 +00:00
|
|
|
{
|
2019-03-04 01:45:25 +00:00
|
|
|
Index = index;
|
|
|
|
IsConst = isConst;
|
|
|
|
Data = data;
|
|
|
|
Offset = offset;
|
|
|
|
Size = size;
|
|
|
|
Type = type;
|
|
|
|
IsBgra = isBgra;
|
2018-02-04 23:08:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|