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.
17 lines
378 B
17 lines
378 B
using System.Numerics; |
|
using System.Runtime.InteropServices; |
|
|
|
namespace ImGuiNET |
|
{ |
|
[StructLayout(LayoutKind.Sequential)] |
|
public unsafe struct DrawVert |
|
{ |
|
public Vector2 pos; |
|
public Vector2 uv; |
|
public uint col; |
|
|
|
public const int PosOffset = 0; |
|
public const int UVOffset = 8; |
|
public const int ColOffset = 16; |
|
}; |
|
}
|
|
|