You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
301 B
15 lines
301 B
2 years ago
|
using gaemstone.ECS;
|
||
|
|
||
|
namespace gaemstone.Client;
|
||
|
|
||
|
[Component]
|
||
|
public readonly struct Mesh
|
||
|
{
|
||
|
public uint Handle { get; }
|
||
|
public int Count { get; }
|
||
|
public bool IsIndexed { get; }
|
||
|
|
||
|
public Mesh(uint handle, int count, bool indexed = true)
|
||
|
{ Handle = handle; Count = count; IsIndexed = indexed; }
|
||
|
}
|