diff --git a/Raylib-cs/types/Audio.cs b/Raylib-cs/types/Audio.cs index 1000b42..13ee10c 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 partial struct Wave + public unsafe 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 partial struct AudioStream + public struct AudioStream { //TODO: convert /// @@ -69,7 +69,7 @@ namespace Raylib_cs /// Sound source type /// [StructLayout(LayoutKind.Sequential)] - public partial struct Sound + public 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 partial struct Music + public unsafe struct Music { /// /// Audio stream diff --git a/Raylib-cs/types/Camera.cs b/Raylib-cs/types/Camera.cs index 041ac72..5b716a1 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 partial struct Camera2D + public 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 partial struct Camera3D + public struct Camera3D { /// /// Camera position diff --git a/Raylib-cs/types/Color.cs b/Raylib-cs/types/Color.cs index 3ed0f41..4ac146d 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 partial struct Color + public struct Color { public byte r; public byte g; diff --git a/Raylib-cs/types/Font.cs b/Raylib-cs/types/Font.cs index 8bf95f3..f9cc4c9 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 partial struct GlyphInfo + public struct GlyphInfo { /// /// Character value (Unicode) @@ -60,7 +60,7 @@ namespace Raylib_cs /// Font, font texture and GlyphInfo array data /// [StructLayout(LayoutKind.Sequential)] - public unsafe partial struct Font + public unsafe struct Font { /// /// Base size (default chars height) diff --git a/Raylib-cs/types/Image.cs b/Raylib-cs/types/Image.cs index 3480fc5..f60c114 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 partial struct Image + public unsafe struct Image { /// /// Image raw data diff --git a/Raylib-cs/types/Input.cs b/Raylib-cs/types/Input.cs index 0ae0413..218cace 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 partial struct VrDeviceInfo + public unsafe struct VrDeviceInfo { /// /// HMD horizontal resolution in pixels @@ -437,7 +437,7 @@ namespace Raylib_cs /// VR Stereo rendering configuration for simulator /// [StructLayout(LayoutKind.Sequential)] - public partial struct VrStereoConfig + public struct VrStereoConfig { /// /// VR projection matrices (per eye) diff --git a/Raylib-cs/types/Material.cs b/Raylib-cs/types/Material.cs index fcb4f4d..c36e2e6 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 partial struct MaterialMap + public struct MaterialMap { /// /// Material map texture @@ -71,7 +71,7 @@ namespace Raylib_cs /// Material type (generic) /// [StructLayout(LayoutKind.Sequential)] - public unsafe partial struct Material + public unsafe struct Material { /// /// Material shader diff --git a/Raylib-cs/types/Mesh.cs b/Raylib-cs/types/Mesh.cs index e61b07d..910dad7 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 partial struct Transform + public struct Transform { /// /// Translation @@ -31,7 +31,7 @@ namespace Raylib_cs /// NOTE: Data stored in CPU memory (and GPU) /// [StructLayout(LayoutKind.Sequential)] - public unsafe partial struct Mesh + public unsafe struct Mesh { /// /// Number of vertices stored in arrays diff --git a/Raylib-cs/types/Model.cs b/Raylib-cs/types/Model.cs index 044f581..a3dc489 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 partial struct BoneInfo + public unsafe struct BoneInfo { /// /// Bone name (char[32]) @@ -25,7 +25,7 @@ namespace Raylib_cs /// Model type /// [StructLayout(LayoutKind.Sequential)] - public unsafe partial struct Model + public unsafe struct Model { /// /// Local transform matrix @@ -79,7 +79,7 @@ namespace Raylib_cs /// Model animation /// [StructLayout(LayoutKind.Sequential)] - public readonly unsafe partial struct ModelAnimation + public readonly unsafe struct ModelAnimation { /// /// Number of bones @@ -107,7 +107,7 @@ namespace Raylib_cs /// public FramePosesCollection FramePoses => new(framePoses, frameCount, boneCount); - public partial struct FramePosesCollection + public struct FramePosesCollection { readonly Transform** framePoses; @@ -128,7 +128,7 @@ namespace Raylib_cs } } - public unsafe partial struct FramePoses + public unsafe struct FramePoses { readonly Transform* poses; diff --git a/Raylib-cs/types/NPatchInfo.cs b/Raylib-cs/types/NPatchInfo.cs index 6030f35..c5dfad6 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 partial struct NPatchInfo + public struct NPatchInfo { /// /// Texture source rectangle diff --git a/Raylib-cs/types/RenderBatch.cs b/Raylib-cs/types/RenderBatch.cs index df86aee..9d46b7f 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 partial struct RenderBatch + public unsafe 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 partial struct VertexBuffer + public unsafe 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 partial struct DrawCall + public struct DrawCall { /// /// Drawing mode: LINES, TRIANGLES, QUADS diff --git a/Raylib-cs/types/RenderTexture2D.cs b/Raylib-cs/types/RenderTexture2D.cs index 67a70f0..6aef0d9 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 partial struct RenderTexture2D + public struct RenderTexture2D { /// /// OpenGL Framebuffer Object (FBO) id diff --git a/Raylib-cs/types/Shader.cs b/Raylib-cs/types/Shader.cs index 9592b42..e79e9a7 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 partial struct Shader + public unsafe struct Shader { /// /// Shader program id diff --git a/Raylib-cs/types/Shapes.cs b/Raylib-cs/types/Shapes.cs index a4d70c4..abb1316 100644 --- a/Raylib-cs/types/Shapes.cs +++ b/Raylib-cs/types/Shapes.cs @@ -7,7 +7,7 @@ namespace Raylib_cs /// Rectangle type /// [StructLayout(LayoutKind.Sequential)] - public partial struct Rectangle + public struct Rectangle { public float x; public float y; @@ -30,7 +30,7 @@ namespace Raylib_cs /// Bounding box type [StructLayout(LayoutKind.Sequential)] - public partial struct BoundingBox + public struct BoundingBox { /// /// Minimum vertex box-corner @@ -53,7 +53,7 @@ namespace Raylib_cs /// Ray, ray for raycasting /// [StructLayout(LayoutKind.Sequential)] - public partial struct Ray + public struct Ray { /// /// Ray position (origin) @@ -76,7 +76,7 @@ namespace Raylib_cs /// Raycast hit information /// [StructLayout(LayoutKind.Sequential)] - public partial struct RayCollision + public struct RayCollision { /// /// Did the ray hit something? diff --git a/Raylib-cs/types/Texture2D.cs b/Raylib-cs/types/Texture2D.cs index 313ea43..915af28 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 partial struct Texture2D + public struct Texture2D { /// /// OpenGL texture id