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

BREAKING: Update names of methods, variables, and other elements (#181)

Breaking change to update naming across Raylib-cs to make it more consistent with C# naming conventions.

---------

Co-authored-by: MrScautHD <65916181+MrScautHD@users.noreply.github.com>
This commit is contained in:
Rgebee 2023-08-14 21:33:48 +01:00 committed by GitHub
commit 23ed54cc24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 1282 additions and 1295 deletions

View file

@ -1,4 +1,3 @@
using System;
using System.Runtime.InteropServices;
namespace Raylib_cs
@ -124,26 +123,26 @@ namespace Raylib_cs
/// <summary>
/// Image raw data
/// </summary>
public void* data;
public void* Data;
/// <summary>
/// Image base width
/// </summary>
public int width;
public int Width;
/// <summary>
/// Image base height
/// </summary>
public int height;
public int Height;
/// <summary>
/// Mipmap levels, 1 by default
/// </summary>
public int mipmaps;
public int Mipmaps;
/// <summary>
/// Data format (PixelFormat type)
/// </summary>
public PixelFormat format;
public PixelFormat Format;
}
}