Compare commits

..

1 Commits

Author SHA1 Message Date
TheSpydog 8c196e71d3 RasterizerState / BlendFactor ABI break 2022-12-29 02:17:52 +00:00
1 changed files with 25 additions and 1 deletions

View File

@ -36,7 +36,7 @@ namespace RefreshCS
/* Version */
public const uint REFRESH_MAJOR_VERSION = 1;
public const uint REFRESH_MINOR_VERSION = 9;
public const uint REFRESH_MINOR_VERSION = 8;
public const uint REFRESH_PATCH_VERSION = 0;
public const uint REFRESH_COMPILED_VERSION = (
@ -451,6 +451,7 @@ namespace RefreshCS
public uint height;
public uint depth;
public byte isCube;
public SampleCount sampleCount;
public uint levelCount;
public TextureFormat format;
public TextureUsageFlags usageFlags; /* Refresh_TextureUsageFlags */
@ -514,6 +515,7 @@ namespace RefreshCS
public struct ColorAttachmentDescription
{
public TextureFormat format;
public SampleCount sampleCount;
public ColorAttachmentBlendState blendState;
}
@ -818,6 +820,17 @@ namespace RefreshCS
public static extern void Refresh_BeginRenderPass(
IntPtr device,
IntPtr commandBuffer,
in Rect renderArea,
IntPtr colorAttachmentInfos,
uint colorAttachmentCount,
IntPtr depthStencilAttachmentInfo /* can be NULL */
);
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_BeginRenderPass(
IntPtr device,
IntPtr commandBuffer,
IntPtr renderArea, /* can be NULL */
IntPtr colorAttachmentInfos,
uint colorAttachmentCount,
IntPtr depthStencilAttachmentInfo /* can be NULL */
@ -827,6 +840,17 @@ namespace RefreshCS
public static unsafe extern void Refresh_BeginRenderPass(
IntPtr device,
IntPtr commandBuffer,
in Rect renderArea,
ColorAttachmentInfo* colorAttachmentInfos,
uint colorAttachmentCount,
DepthStencilAttachmentInfo* depthStencilAttachmentInfo /* can be NULL */
);
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static unsafe extern void Refresh_BeginRenderPass(
IntPtr device,
IntPtr commandBuffer,
IntPtr renderArea, /* can be NULL */
ColorAttachmentInfo* colorAttachmentInfos,
uint colorAttachmentCount,
DepthStencilAttachmentInfo* depthStencilAttachmentInfo /* can be NULL */