Watch
2
0
Fork
You've already forked raylib-cs
0

Make struct types partial

This commit is contained in:
Rgebee 2022-01-30 09:42:26 +00:00
commit 940beea7d0
15 changed files with 32 additions and 32 deletions

View file

@ -6,7 +6,7 @@ namespace Raylib_cs
/// RenderBatch type
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public unsafe struct RenderBatch
public unsafe partial struct RenderBatch
{
/// <summary>
/// Number of vertex buffers (multi-buffering support)
@ -43,7 +43,7 @@ namespace Raylib_cs
/// Dynamic vertex buffers (position + texcoords + colors + indices arrays)
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public unsafe struct VertexBuffer
public unsafe partial struct VertexBuffer
{
/// <summary>
/// Number of elements in the buffer (QUADS)
@ -87,7 +87,7 @@ namespace Raylib_cs
/// Dynamic vertex buffers (position + texcoords + colors + indices arrays)
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct DrawCall
public partial struct DrawCall
{
/// <summary>
/// Drawing mode: LINES, TRIANGLES, QUADS