19 lines
387 B
C#
19 lines
387 B
C#
using MoonWorks.Graphics;
|
|
|
|
namespace MoonWorksComputeSpriteBatch
|
|
{
|
|
public struct Sprite
|
|
{
|
|
public Rect Texcoord { get; }
|
|
public uint Width { get; }
|
|
public uint Height { get; }
|
|
|
|
public Sprite(Rect texcoord, uint width, uint height)
|
|
{
|
|
Texcoord = texcoord;
|
|
Width = width;
|
|
Height = height;
|
|
}
|
|
}
|
|
}
|