1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-14 06:56:39 +00:00
Ryujinx/Ryujinx.Graphics.Gpu/State/VertexBufferState.cs

20 lines
373 B
C#
Raw Normal View History

2019-10-13 07:02:07 +01:00
namespace Ryujinx.Graphics.Gpu.State
{
struct VertexBufferState
{
public uint Control;
public GpuVa Address;
public int Divisor;
public int UnpackStride()
{
return (int)(Control & 0xfff);
}
public bool UnpackEnable()
{
return (Control & (1 << 12)) != 0;
}
}
}