mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 05:45:57 +00:00
Implemented per-fragment operations according to the OpenGL 4.4
specification, section 17.
This commit is contained in:
parent
1585d6a02e
commit
86214ebc77
|
@ -175,12 +175,11 @@
|
|||
</function>
|
||||
|
||||
<function name="StencilFuncSeparate" extension="Core">
|
||||
<param name="frontfunc">
|
||||
<name>face</name>
|
||||
<param name="face">
|
||||
<type>StencilFace</type>
|
||||
</param>
|
||||
<param name="backfunc">
|
||||
<name>func</name>
|
||||
<param name="func">
|
||||
<type>StencilFunction</type>
|
||||
</param>
|
||||
</function>
|
||||
|
||||
|
@ -1799,6 +1798,10 @@
|
|||
<token name="CONSTANT_COLOR" value="0x8001" />
|
||||
<token name="ONE_MINUS_CONSTANT_ALPHA" value="0x8004" />
|
||||
<token name="ONE_MINUS_CONSTANT_COLOR" value="0x8002" />
|
||||
<use enum="VERSION_1_1" token="SRC_COLOR" />
|
||||
<use enum="VERSION_1_1" token="SRC_ALPHA" />
|
||||
<use enum="VERSION_1_1" token="ONE_MINUS_SRC_ALPHA" />
|
||||
<use enum="VERSION_1_1" token="ONE_MINUS_SRC_COLOR" />
|
||||
<use enum="VERSION_3_3" token="SRC1_ALPHA" />
|
||||
<use enum="VERSION_3_3" token="SRC1_COLOR" />
|
||||
<use enum="VERSION_3_3" token="ONE_MINUS_SRC1_ALPHA" />
|
||||
|
@ -1809,6 +1812,10 @@
|
|||
<token name="CONSTANT_COLOR" value="0x8001" />
|
||||
<token name="ONE_MINUS_CONSTANT_ALPHA" value="0x8004" />
|
||||
<token name="ONE_MINUS_CONSTANT_COLOR" value="0x8002" />
|
||||
<use enum="VERSION_1_1" token="SRC_COLOR" />
|
||||
<use enum="VERSION_1_1" token="SRC_ALPHA" />
|
||||
<use enum="VERSION_1_1" token="ONE_MINUS_SRC_ALPHA" />
|
||||
<use enum="VERSION_1_1" token="ONE_MINUS_SRC_COLOR" />
|
||||
<use enum="VERSION_3_3" token="SRC1_ALPHA" />
|
||||
<use enum="VERSION_3_3" token="SRC1_COLOR" />
|
||||
<use enum="VERSION_3_3" token="ONE_MINUS_SRC1_ALPHA" />
|
||||
|
|
|
@ -97597,13 +97597,13 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </param>
|
||||
[AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
|
||||
public static
|
||||
void StencilFuncSeparate(OpenTK.Graphics.OpenGL.Version20 face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask)
|
||||
void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, Int32 mask)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL.Version20)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask);
|
||||
Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
@ -97636,13 +97636,13 @@ namespace OpenTK.Graphics.OpenGL
|
|||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
|
||||
public static
|
||||
void StencilFuncSeparate(OpenTK.Graphics.OpenGL.Version20 face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask)
|
||||
void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL.Version20)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask);
|
||||
Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -5477,7 +5477,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
internal extern static void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)]
|
||||
internal extern static void StencilFuncSeparate(OpenTK.Graphics.OpenGL.Version20 face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask);
|
||||
internal extern static void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparateATI", ExactSpelling = true)]
|
||||
internal extern static void StencilFuncSeparateATI(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask);
|
||||
|
|
|
@ -5475,7 +5475,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
internal delegate void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask);
|
||||
internal static StencilFunc glStencilFunc;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void StencilFuncSeparate(OpenTK.Graphics.OpenGL.Version20 face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask);
|
||||
internal delegate void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask);
|
||||
internal static StencilFuncSeparate glStencilFuncSeparate;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void StencilFuncSeparateATI(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask);
|
||||
|
|
|
@ -28883,6 +28883,14 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
Zero = ((int)0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_SRC_COLOR = 0x0300
|
||||
/// </summary>
|
||||
SrcColor = ((int)0x0300) ,
|
||||
/// <summary>
|
||||
/// Original was GL_ONE_MINUS_SRC_COLOR = 0x0301
|
||||
/// </summary>
|
||||
OneMinusSrcColor = ((int)0x0301) ,
|
||||
/// <summary>
|
||||
/// Original was GL_SRC_ALPHA = 0x0302
|
||||
/// </summary>
|
||||
SrcAlpha = ((int)0x0302) ,
|
||||
|
@ -51314,7 +51322,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.StencilMaskSeparate, GL.StencilOpSeparate
|
||||
/// Used in GL.StencilFuncSeparate, GL.StencilMaskSeparate, GL.StencilOpSeparate
|
||||
/// </summary>
|
||||
public enum StencilFace : int
|
||||
{
|
||||
|
@ -56444,7 +56452,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.StencilFuncSeparate
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
public enum Version20 : int
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue