diff --git a/Raylib-cs/types/Audio.cs b/Raylib-cs/types/Audio.cs index 13ee10c..1000b42 100644 --- a/Raylib-cs/types/Audio.cs +++ b/Raylib-cs/types/Audio.cs @@ -7,7 +7,7 @@ namespace Raylib_cs /// Wave type, defines audio wave data /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct Wave + public unsafe partial struct Wave { /// /// Number of samples @@ -41,7 +41,7 @@ namespace Raylib_cs /// NOTE: Useful to create custom audio streams not bound to a specific file /// [StructLayout(LayoutKind.Sequential)] - public struct AudioStream + public partial struct AudioStream { //TODO: convert /// @@ -69,7 +69,7 @@ namespace Raylib_cs /// Sound source type /// [StructLayout(LayoutKind.Sequential)] - public struct Sound + public partial struct Sound { /// /// Audio stream @@ -87,7 +87,7 @@ namespace Raylib_cs /// NOTE: Anything longer than ~10 seconds should be streamed /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct Music + public unsafe partial struct Music { /// /// Audio stream diff --git a/Raylib-cs/types/BoundingBox.cs b/Raylib-cs/types/BoundingBox.cs index 66424ad..0bea2a7 100644 --- a/Raylib-cs/types/BoundingBox.cs +++ b/Raylib-cs/types/BoundingBox.cs @@ -5,7 +5,7 @@ namespace Raylib_cs { /// Bounding box type [StructLayout(LayoutKind.Sequential)] - public struct BoundingBox + public partial struct BoundingBox { /// /// Minimum vertex box-corner diff --git a/Raylib-cs/types/Camera.cs b/Raylib-cs/types/Camera.cs index 5b716a1..041ac72 100644 --- a/Raylib-cs/types/Camera.cs +++ b/Raylib-cs/types/Camera.cs @@ -7,7 +7,7 @@ namespace Raylib_cs /// Camera2D, defines position/orientation in 2d space /// [StructLayout(LayoutKind.Sequential)] - public struct Camera2D + public partial struct Camera2D { /// /// Camera offset (displacement from target) @@ -63,7 +63,7 @@ namespace Raylib_cs /// Camera3D, defines position/orientation in 3d space /// [StructLayout(LayoutKind.Sequential)] - public struct Camera3D + public partial struct Camera3D { /// /// Camera position diff --git a/Raylib-cs/types/Color.cs b/Raylib-cs/types/Color.cs index 4ac146d..3ed0f41 100644 --- a/Raylib-cs/types/Color.cs +++ b/Raylib-cs/types/Color.cs @@ -7,7 +7,7 @@ namespace Raylib_cs /// Color type, RGBA (32bit) /// [StructLayout(LayoutKind.Sequential)] - public struct Color + public partial struct Color { public byte r; public byte g; diff --git a/Raylib-cs/types/Font.cs b/Raylib-cs/types/Font.cs index f9cc4c9..8bf95f3 100644 --- a/Raylib-cs/types/Font.cs +++ b/Raylib-cs/types/Font.cs @@ -28,7 +28,7 @@ namespace Raylib_cs /// GlyphInfo, font characters glyphs info /// [StructLayout(LayoutKind.Sequential)] - public struct GlyphInfo + public partial struct GlyphInfo { /// /// Character value (Unicode) @@ -60,7 +60,7 @@ namespace Raylib_cs /// Font, font texture and GlyphInfo array data /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct Font + public unsafe partial struct Font { /// /// Base size (default chars height) diff --git a/Raylib-cs/types/Image.cs b/Raylib-cs/types/Image.cs index f60c114..3480fc5 100644 --- a/Raylib-cs/types/Image.cs +++ b/Raylib-cs/types/Image.cs @@ -119,7 +119,7 @@ namespace Raylib_cs /// Image, pixel data stored in CPU memory (RAM) /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct Image + public unsafe partial struct Image { /// /// Image raw data diff --git a/Raylib-cs/types/Input.cs b/Raylib-cs/types/Input.cs index 218cace..0ae0413 100644 --- a/Raylib-cs/types/Input.cs +++ b/Raylib-cs/types/Input.cs @@ -380,7 +380,7 @@ namespace Raylib_cs /// Head-Mounted-Display device parameters /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct VrDeviceInfo + public unsafe partial struct VrDeviceInfo { /// /// HMD horizontal resolution in pixels @@ -437,7 +437,7 @@ namespace Raylib_cs /// VR Stereo rendering configuration for simulator /// [StructLayout(LayoutKind.Sequential)] - public struct VrStereoConfig + public partial struct VrStereoConfig { /// /// VR projection matrices (per eye) diff --git a/Raylib-cs/types/Material.cs b/Raylib-cs/types/Material.cs index c36e2e6..fcb4f4d 100644 --- a/Raylib-cs/types/Material.cs +++ b/Raylib-cs/types/Material.cs @@ -49,7 +49,7 @@ namespace Raylib_cs /// Material texture map /// [StructLayout(LayoutKind.Sequential)] - public struct MaterialMap + public partial struct MaterialMap { /// /// Material map texture @@ -71,7 +71,7 @@ namespace Raylib_cs /// Material type (generic) /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct Material + public unsafe partial struct Material { /// /// Material shader diff --git a/Raylib-cs/types/Mesh.cs b/Raylib-cs/types/Mesh.cs index 910dad7..e61b07d 100644 --- a/Raylib-cs/types/Mesh.cs +++ b/Raylib-cs/types/Mesh.cs @@ -8,7 +8,7 @@ namespace Raylib_cs /// Transform, vectex transformation data /// [StructLayout(LayoutKind.Sequential)] - public struct Transform + public partial struct Transform { /// /// Translation @@ -31,7 +31,7 @@ namespace Raylib_cs /// NOTE: Data stored in CPU memory (and GPU) /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct Mesh + public unsafe partial struct Mesh { /// /// Number of vertices stored in arrays diff --git a/Raylib-cs/types/Model.cs b/Raylib-cs/types/Model.cs index a3dc489..4cd1553 100644 --- a/Raylib-cs/types/Model.cs +++ b/Raylib-cs/types/Model.cs @@ -8,7 +8,7 @@ namespace Raylib_cs /// Bone information /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct BoneInfo + public unsafe partial struct BoneInfo { /// /// Bone name (char[32]) @@ -25,7 +25,7 @@ namespace Raylib_cs /// Model type /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct Model + public unsafe partial struct Model { /// /// Local transform matrix @@ -79,7 +79,7 @@ namespace Raylib_cs /// Model animation /// [StructLayout(LayoutKind.Sequential)] - public readonly unsafe struct ModelAnimation + public readonly unsafe partial struct ModelAnimation { /// /// Number of bones diff --git a/Raylib-cs/types/NPatchInfo.cs b/Raylib-cs/types/NPatchInfo.cs index c5dfad6..6030f35 100644 --- a/Raylib-cs/types/NPatchInfo.cs +++ b/Raylib-cs/types/NPatchInfo.cs @@ -27,7 +27,7 @@ namespace Raylib_cs /// N-Patch layout info /// [StructLayout(LayoutKind.Sequential)] - public struct NPatchInfo + public partial struct NPatchInfo { /// /// Texture source rectangle diff --git a/Raylib-cs/types/Ray.cs b/Raylib-cs/types/Ray.cs index 36b196d..93007c7 100644 --- a/Raylib-cs/types/Ray.cs +++ b/Raylib-cs/types/Ray.cs @@ -7,7 +7,7 @@ namespace Raylib_cs /// Ray, ray for raycasting /// [StructLayout(LayoutKind.Sequential)] - public struct Ray + public partial struct Ray { /// /// Ray position (origin) @@ -30,7 +30,7 @@ namespace Raylib_cs /// Raycast hit information /// [StructLayout(LayoutKind.Sequential)] - public struct RayCollision + public partial struct RayCollision { /// /// Did the ray hit something? diff --git a/Raylib-cs/types/Rectangle.cs b/Raylib-cs/types/Rectangle.cs index affd42f..ef0de9b 100644 --- a/Raylib-cs/types/Rectangle.cs +++ b/Raylib-cs/types/Rectangle.cs @@ -6,7 +6,7 @@ namespace Raylib_cs /// Rectangle type /// [StructLayout(LayoutKind.Sequential)] - public struct Rectangle + public partial struct Rectangle { public float x; public float y; diff --git a/Raylib-cs/types/RenderBatch.cs b/Raylib-cs/types/RenderBatch.cs index 9d46b7f..df86aee 100644 --- a/Raylib-cs/types/RenderBatch.cs +++ b/Raylib-cs/types/RenderBatch.cs @@ -6,7 +6,7 @@ namespace Raylib_cs /// RenderBatch type /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct RenderBatch + public unsafe partial struct RenderBatch { /// /// Number of vertex buffers (multi-buffering support) @@ -43,7 +43,7 @@ namespace Raylib_cs /// Dynamic vertex buffers (position + texcoords + colors + indices arrays) /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct VertexBuffer + public unsafe partial struct VertexBuffer { /// /// Number of elements in the buffer (QUADS) @@ -87,7 +87,7 @@ namespace Raylib_cs /// Dynamic vertex buffers (position + texcoords + colors + indices arrays) /// [StructLayout(LayoutKind.Sequential)] - public struct DrawCall + public partial struct DrawCall { /// /// Drawing mode: LINES, TRIANGLES, QUADS diff --git a/Raylib-cs/types/RenderTexture2D.cs b/Raylib-cs/types/RenderTexture2D.cs index 6aef0d9..67a70f0 100644 --- a/Raylib-cs/types/RenderTexture2D.cs +++ b/Raylib-cs/types/RenderTexture2D.cs @@ -6,7 +6,7 @@ namespace Raylib_cs /// RenderTexture2D type, for texture rendering /// [StructLayout(LayoutKind.Sequential)] - public struct RenderTexture2D + public partial struct RenderTexture2D { /// /// OpenGL Framebuffer Object (FBO) id diff --git a/Raylib-cs/types/Shader.cs b/Raylib-cs/types/Shader.cs index e79e9a7..9592b42 100644 --- a/Raylib-cs/types/Shader.cs +++ b/Raylib-cs/types/Shader.cs @@ -70,7 +70,7 @@ namespace Raylib_cs /// Shader type (generic) /// [StructLayout(LayoutKind.Sequential)] - public unsafe struct Shader + public unsafe partial struct Shader { /// /// Shader program id diff --git a/Raylib-cs/types/Texture2D.cs b/Raylib-cs/types/Texture2D.cs index 915af28..313ea43 100644 --- a/Raylib-cs/types/Texture2D.cs +++ b/Raylib-cs/types/Texture2D.cs @@ -107,7 +107,7 @@ namespace Raylib_cs /// NOTE: Data stored in GPU memory /// [StructLayout(LayoutKind.Sequential)] - public struct Texture2D + public partial struct Texture2D { /// /// OpenGL texture id