rjx-mirror/Ryujinx.Graphics/Gal/GalVertexAttrib.cs

33 lines
1 KiB
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,
2018-02-04 23:08:20 +00:00
bool IsConst,
int Offset,
byte[] Data,
2018-02-04 23:08:20 +00:00
GalVertexAttribSize Size,
GalVertexAttribType Type,
bool IsBgra)
{
this.Index = Index;
2018-02-04 23:08:20 +00:00
this.IsConst = IsConst;
this.Data = Data;
2018-02-04 23:08:20 +00:00
this.Offset = Offset;
this.Size = Size;
this.Type = Type;
this.IsBgra = IsBgra;
}
}
}