Initial work
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace Ryujinx.Graphics.GAL.InputAssembler
|
||||
{
|
||||
public struct VertexAttribDescriptor
|
||||
{
|
||||
public int BufferIndex { get; }
|
||||
public int Offset { get; }
|
||||
|
||||
public Format Format { get; }
|
||||
|
||||
public VertexAttribDescriptor(int bufferIndex, int offset, Format format)
|
||||
{
|
||||
BufferIndex = bufferIndex;
|
||||
Offset = offset;
|
||||
Format = format;
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,17 @@
|
||||
namespace Ryujinx.Graphics.GAL.InputAssembler
|
||||
{
|
||||
public struct VertexBufferDescriptor
|
||||
{
|
||||
public BufferRange Buffer { get; }
|
||||
|
||||
public int Stride { get; }
|
||||
public int Divisor { get; }
|
||||
|
||||
public VertexBufferDescriptor(BufferRange buffer, int stride, int divisor)
|
||||
{
|
||||
Buffer = buffer;
|
||||
Stride = stride;
|
||||
Divisor = divisor;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user