forked from MoonsideGames/RefreshCS
Compare commits
3 Commits
9068263afc
...
113c1821dd
Author | SHA1 | Date |
---|---|---|
Caleb Cornett | 113c1821dd | |
cosmonaut | 1643061386 | |
TheSpydog | e828f9b7fb |
|
@ -36,7 +36,7 @@ namespace RefreshCS
|
||||||
/* Version */
|
/* Version */
|
||||||
|
|
||||||
public const uint REFRESH_MAJOR_VERSION = 1;
|
public const uint REFRESH_MAJOR_VERSION = 1;
|
||||||
public const uint REFRESH_MINOR_VERSION = 9;
|
public const uint REFRESH_MINOR_VERSION = 10;
|
||||||
public const uint REFRESH_PATCH_VERSION = 0;
|
public const uint REFRESH_PATCH_VERSION = 0;
|
||||||
|
|
||||||
public const uint REFRESH_COMPILED_VERSION = (
|
public const uint REFRESH_COMPILED_VERSION = (
|
||||||
|
@ -367,6 +367,15 @@ namespace RefreshCS
|
||||||
public uint level;
|
public uint level;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
|
public struct IndirectDrawCommand
|
||||||
|
{
|
||||||
|
public uint vertexCount;
|
||||||
|
public uint instanceCount;
|
||||||
|
public uint firstVertex;
|
||||||
|
public uint firstInstance;
|
||||||
|
}
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public struct SamplerStateCreateInfo
|
public struct SamplerStateCreateInfo
|
||||||
{
|
{
|
||||||
|
@ -945,8 +954,7 @@ namespace RefreshCS
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern IntPtr Refresh_AcquireCommandBuffer(
|
public static extern IntPtr Refresh_AcquireCommandBuffer(
|
||||||
IntPtr device,
|
IntPtr device
|
||||||
byte isFixed
|
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
|
Loading…
Reference in New Issue