1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-01-28 18:46:47 -06:00
ryujinx/Ryujinx.Graphics.Gpu/State/VertexBufferState.cs
2020-01-09 02:13:00 +01:00

20 lines
373 B
C#

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;
}
}
}