Refresh 1.2.0
parent
4531e04911
commit
5fe9dd8587
|
@ -480,15 +480,6 @@ namespace RefreshCS
|
||||||
public uint imageBindingCount;
|
public uint imageBindingCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
|
||||||
public struct ViewportState
|
|
||||||
{
|
|
||||||
public IntPtr viewports;
|
|
||||||
public uint viewportCount;
|
|
||||||
public IntPtr scissors;
|
|
||||||
public uint scissorCount;
|
|
||||||
}
|
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public struct RasterizerState
|
public struct RasterizerState
|
||||||
{
|
{
|
||||||
|
@ -548,7 +539,6 @@ namespace RefreshCS
|
||||||
public GraphicsShaderInfo fragmentShaderInfo;
|
public GraphicsShaderInfo fragmentShaderInfo;
|
||||||
public VertexInputState vertexInputState;
|
public VertexInputState vertexInputState;
|
||||||
public PrimitiveType primitiveType;
|
public PrimitiveType primitiveType;
|
||||||
public ViewportState viewportState;
|
|
||||||
public RasterizerState rasterizerState;
|
public RasterizerState rasterizerState;
|
||||||
public MultisampleState multisampleState;
|
public MultisampleState multisampleState;
|
||||||
public DepthStencilState depthStencilState;
|
public DepthStencilState depthStencilState;
|
||||||
|
@ -857,6 +847,20 @@ namespace RefreshCS
|
||||||
IntPtr graphicsPipeline
|
IntPtr graphicsPipeline
|
||||||
);
|
);
|
||||||
|
|
||||||
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern void Refresh_SetViewport(
|
||||||
|
IntPtr device,
|
||||||
|
IntPtr commandBuffer,
|
||||||
|
in Viewport viewport
|
||||||
|
);
|
||||||
|
|
||||||
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern void Refresh_SetScissor(
|
||||||
|
IntPtr device,
|
||||||
|
IntPtr commandBuffer,
|
||||||
|
in Rect scissor
|
||||||
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void Refresh_BindVertexBuffers(
|
public static extern void Refresh_BindVertexBuffers(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
|
|
Loading…
Reference in New Issue