1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/Ryujinx.Graphics/Gal/GalVertexAttrib.cs

35 lines
1 KiB
C#
Raw Normal View History

using System;
namespace Ryujinx.Graphics.Gal
2018-02-05 00:08:20 +01:00
{
public struct GalVertexAttrib
{
public int Index { get; private set; }
public bool IsConst { get; private set; }
public int Offset { get; private set; }
public IntPtr Pointer { get; private set; }
2018-02-05 00:08:20 +01: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-05 00:08:20 +01:00
bool IsConst,
int Offset,
IntPtr Pointer,
2018-02-05 00:08:20 +01:00
GalVertexAttribSize Size,
GalVertexAttribType Type,
bool IsBgra)
{
this.Index = Index;
2018-02-05 00:08:20 +01:00
this.IsConst = IsConst;
this.Pointer = Pointer;
2018-02-05 00:08:20 +01:00
this.Offset = Offset;
this.Size = Size;
this.Type = Type;
this.IsBgra = IsBgra;
}
}
}