0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-23 12:25:44 +00:00
ryujinx-fork/Ryujinx.Graphics/Gal/GalVertexAttrib.cs

33 lines
994 B
C#
Raw Normal View History

namespace Ryujinx.Graphics.Gal
2018-02-04 23:08:20 +00:00
{
public struct GalVertexAttrib
{
public int Index { get; private set; }
public bool IsConst { get; private set; }
public int Offset { get; private set; }
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(
int index,
bool isConst,
int offset,
byte[] data,
GalVertexAttribSize size,
GalVertexAttribType type,
bool isBgra)
2018-02-04 23:08:20 +00:00
{
Index = index;
IsConst = isConst;
Data = data;
Offset = offset;
Size = size;
Type = type;
IsBgra = isBgra;
2018-02-04 23:08:20 +00:00
}
}
}