forked from MoonsideGames/RefreshCS
Compare commits
3 Commits
8c196e71d3
...
73cbaca5fa
Author | SHA1 | Date |
---|---|---|
TheSpydog | 73cbaca5fa | |
cosmonaut | 2880ab39a3 | |
TheSpydog | 2b6ae29053 |
|
@ -36,7 +36,7 @@ namespace RefreshCS
|
|||
/* Version */
|
||||
|
||||
public const uint REFRESH_MAJOR_VERSION = 1;
|
||||
public const uint REFRESH_MINOR_VERSION = 8;
|
||||
public const uint REFRESH_MINOR_VERSION = 9;
|
||||
public const uint REFRESH_PATCH_VERSION = 0;
|
||||
|
||||
public const uint REFRESH_COMPILED_VERSION = (
|
||||
|
@ -250,11 +250,7 @@ namespace RefreshCS
|
|||
OneMinusDestinationAlpha,
|
||||
ConstantColor,
|
||||
OneMinusConstantColor,
|
||||
SourceAlphaSaturate,
|
||||
SourceOneColor,
|
||||
OneMinusSourceOneColor,
|
||||
SourceOneAlpha,
|
||||
OneMinusSourceOneAlpha
|
||||
SourceAlphaSaturate
|
||||
}
|
||||
|
||||
[Flags]
|
||||
|
@ -455,7 +451,6 @@ 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 */
|
||||
|
@ -485,7 +480,6 @@ namespace RefreshCS
|
|||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct RasterizerState
|
||||
{
|
||||
public byte depthClampEnable;
|
||||
public FillMode fillMode;
|
||||
public CullMode cullMode;
|
||||
public FrontFace frontFace;
|
||||
|
@ -520,7 +514,6 @@ namespace RefreshCS
|
|||
public struct ColorAttachmentDescription
|
||||
{
|
||||
public TextureFormat format;
|
||||
public SampleCount sampleCount;
|
||||
public ColorAttachmentBlendState blendState;
|
||||
}
|
||||
|
||||
|
@ -825,17 +818,6 @@ 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 */
|
||||
|
@ -845,17 +827,6 @@ 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 */
|
||||
|
|
Loading…
Reference in New Issue