new Text methods added
This commit is contained in:
parent
867f66d8c3
commit
b437273f72
1 changed files with 11 additions and 0 deletions
|
|
@ -2213,10 +2213,21 @@ public static unsafe partial class Raylib
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern sbyte* TextToPascal(sbyte* text);
|
public static extern sbyte* TextToPascal(sbyte* text);
|
||||||
|
|
||||||
|
/// <summary>Get Snake case notation version of provided string</summary>
|
||||||
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern sbyte* TextToSnake(sbyte* text);
|
||||||
|
|
||||||
|
/// <summary>Get Camel case notation version of provided string</summary>
|
||||||
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern sbyte* TextToCamel(sbyte* text);
|
||||||
|
|
||||||
/// <summary>Get integer value from text (negative values not supported)</summary>
|
/// <summary>Get integer value from text (negative values not supported)</summary>
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern int TextToInteger(sbyte* text);
|
public static extern int TextToInteger(sbyte* text);
|
||||||
|
|
||||||
|
/// <summary>Get float value from text (negative values not supported)</summary>
|
||||||
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern float TextToFloat(sbyte* text);
|
||||||
|
|
||||||
//------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------
|
||||||
// Basic 3d Shapes Drawing Functions (Module: models)
|
// Basic 3d Shapes Drawing Functions (Module: models)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue