ABI break

main
cosmonaut 2021-01-13 21:11:13 -08:00
parent dcf8d89fa4
commit c33e62b9e4
1 changed files with 2 additions and 16 deletions

View File

@ -499,12 +499,6 @@ namespace RefreshCS
public UInt64 uniformBufferSize;
}
[StructLayout(LayoutKind.Sequential)]
public struct TopologyState
{
public PrimitiveType topology;
}
[StructLayout(LayoutKind.Sequential)]
public struct ViewportState
{
@ -572,7 +566,7 @@ namespace RefreshCS
public ShaderStageState vertexShaderState;
public ShaderStageState fragmentShaderState;
public VertexInputState vertexInputState;
public TopologyState topologyState;
public PrimitiveType primitiveType;
public ViewportState viewportState;
public RasterizerState rasterizerState;
public MultisampleState multisampleState;
@ -635,13 +629,9 @@ namespace RefreshCS
IntPtr device,
IntPtr commandBuffer,
uint baseVertex,
uint minVertexIndex,
uint numVertices,
uint startIndex,
uint primitiveCount,
uint instanceCount,
IntPtr indices, /* Refresh_Buffer */
IndexElementSize indexElementSize,
uint vertexParamOffset,
uint fragmentParamOffset
);
@ -650,13 +640,9 @@ namespace RefreshCS
public static extern void Refresh_DrawIndexedPrimitives(
IntPtr device,
IntPtr commandBuffer,
uint baseverrtex,
uint minVertexIndex,
uint numVertices,
uint baseVertex,
uint startIndex,
uint primitiveCount,
IntPtr indices, /* Refresh_Buffer */
IndexElementSize indexElementSize,
uint vertexParamOffset,
uint fragmentParamOffset
);