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

Initial update to 4.2

This commit is contained in:
Rgebee 2022-07-04 07:28:32 +01:00
commit 1a78bc3c53
8 changed files with 153 additions and 39 deletions

View file

@ -511,7 +511,7 @@ namespace Raylib_cs
/// <summary>Update GPU texture with new data</summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void rlUpdateTexture(uint id, int width, int height, PixelFormat format, void* data);
public static extern void rlUpdateTexture(uint id, int offsetX, int offsetY, int width, int height, PixelFormat format, void* data);
/// <summary>Get OpenGL internal formats</summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
@ -659,7 +659,7 @@ namespace Raylib_cs
/// <summary>Get internal accumulated transform matrix</summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Matrix4x4 rlGetMatrixTramsform();
public static extern Matrix4x4 rlGetMatrixTransform();
/// <summary>Get internal projection matrix for stereo render (selected eye)</summary>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]