ABI changes
parent
d8b94d539d
commit
4b21707900
|
@ -93,9 +93,8 @@ namespace WellspringCS
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void Wellspring_GetPixels(
|
public static extern IntPtr Wellspring_GetPixelDataPointer(
|
||||||
IntPtr packer,
|
IntPtr packer
|
||||||
IntPtr pData /* byte array */
|
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
@ -103,13 +102,13 @@ namespace WellspringCS
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void Wellspring_StartTextBatch(
|
public static extern void Wellspring_StartTextBatch(
|
||||||
|
IntPtr textBatch,
|
||||||
IntPtr packer
|
IntPtr packer
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern byte Wellspring_Draw(
|
public static extern byte Wellspring_Draw(
|
||||||
IntPtr textBatch,
|
IntPtr textBatch,
|
||||||
IntPtr packer,
|
|
||||||
float x,
|
float x,
|
||||||
float y,
|
float y,
|
||||||
float depth,
|
float depth,
|
||||||
|
@ -119,17 +118,12 @@ namespace WellspringCS
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void Wellspring_GetBufferLengths(
|
public static extern void Wellspring_GetBufferData(
|
||||||
IntPtr textBatch,
|
IntPtr textBatch,
|
||||||
out uint vertexCount,
|
out IntPtr vertexDataPointer,
|
||||||
out uint indexCount
|
out uint vertexDataLengthInBytes,
|
||||||
);
|
out IntPtr indexDataPointer,
|
||||||
|
out uint indexDataLengthInBytes
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
|
||||||
public static extern void Wellspring_GetBuffers(
|
|
||||||
IntPtr textBatch,
|
|
||||||
IntPtr vertexBuffer, /* Vertex array */
|
|
||||||
IntPtr indexBuffer /* uint array */
|
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
|
Loading…
Reference in New Issue