diff --git a/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs b/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs index ab02c804..3edd10bd 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs @@ -1094,6 +1094,213 @@ namespace OpenTK.Graphics.OpenGL unsafe void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params); + /// <summary> + /// Get separable convolution filter kernel images + /// </summary> + /// <param name="target"> + /// <para> + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// </para> + /// </param> + /// <param name="format"> + /// <para> + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// </para> + /// </param> + /// <param name="type"> + /// <para> + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// </para> + /// </param> + /// <param name="row"> + /// <para> + /// Pointer to storage for the row filter image. + /// </para> + /// </param> + /// <param name="column"> + /// <para> + /// Pointer to storage for the column filter image. + /// </para> + /// </param> + /// <param name="span"> + /// <para> + /// Pointer to storage for the span filter image (currently unused). + /// </para> + /// </param> + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")] + public static extern + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] IntPtr span); + + + /// <summary> + /// Get separable convolution filter kernel images + /// </summary> + /// <param name="target"> + /// <para> + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// </para> + /// </param> + /// <param name="format"> + /// <para> + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// </para> + /// </param> + /// <param name="type"> + /// <para> + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// </para> + /// </param> + /// <param name="row"> + /// <para> + /// Pointer to storage for the row filter image. + /// </para> + /// </param> + /// <param name="column"> + /// <para> + /// Pointer to storage for the column filter image. + /// </para> + /// </param> + /// <param name="span"> + /// <para> + /// Pointer to storage for the span filter image (currently unused). + /// </para> + /// </param> + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")] + public static extern + void GetSeparableFilter<T4, T5, T6>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, ref T4 row, ref T5 column, ref T6 span) + where T4 : struct + where T5 : struct + where T6 : struct; + + + /// <summary> + /// Get separable convolution filter kernel images + /// </summary> + /// <param name="target"> + /// <para> + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// </para> + /// </param> + /// <param name="format"> + /// <para> + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// </para> + /// </param> + /// <param name="type"> + /// <para> + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// </para> + /// </param> + /// <param name="row"> + /// <para> + /// Pointer to storage for the row filter image. + /// </para> + /// </param> + /// <param name="column"> + /// <para> + /// Pointer to storage for the column filter image. + /// </para> + /// </param> + /// <param name="span"> + /// <para> + /// Pointer to storage for the span filter image (currently unused). + /// </para> + /// </param> + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")] + public static extern + void GetSeparableFilter<T4, T5, T6>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] T4[] row, [OutAttribute] T5[] column, [InAttribute, OutAttribute] T6[] span) + where T4 : struct + where T5 : struct + where T6 : struct; + + + /// <summary> + /// Get separable convolution filter kernel images + /// </summary> + /// <param name="target"> + /// <para> + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// </para> + /// </param> + /// <param name="format"> + /// <para> + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// </para> + /// </param> + /// <param name="type"> + /// <para> + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// </para> + /// </param> + /// <param name="row"> + /// <para> + /// Pointer to storage for the row filter image. + /// </para> + /// </param> + /// <param name="column"> + /// <para> + /// Pointer to storage for the column filter image. + /// </para> + /// </param> + /// <param name="span"> + /// <para> + /// Pointer to storage for the span filter image (currently unused). + /// </para> + /// </param> + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")] + public static extern + void GetSeparableFilter<T4, T5, T6>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] T4[,] row, [OutAttribute] T5[,] column, [InAttribute, OutAttribute] T6[,] span) + where T4 : struct + where T5 : struct + where T6 : struct; + + + /// <summary> + /// Get separable convolution filter kernel images + /// </summary> + /// <param name="target"> + /// <para> + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// </para> + /// </param> + /// <param name="format"> + /// <para> + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// </para> + /// </param> + /// <param name="type"> + /// <para> + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// </para> + /// </param> + /// <param name="row"> + /// <para> + /// Pointer to storage for the row filter image. + /// </para> + /// </param> + /// <param name="column"> + /// <para> + /// Pointer to storage for the column filter image. + /// </para> + /// </param> + /// <param name="span"> + /// <para> + /// Pointer to storage for the span filter image (currently unused). + /// </para> + /// </param> + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter<T4, T5, T6> overloads instead")] + public static extern + void GetSeparableFilter<T4, T5, T6>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] T4[,,] row, [OutAttribute] T5[,,] column, [InAttribute, OutAttribute] T6[,,] span) + where T4 : struct + where T5 : struct + where T6 : struct; + + /// <summary> /// Get separable convolution filter kernel images /// </summary> @@ -1544,6 +1751,259 @@ namespace OpenTK.Graphics.OpenGL where T5 : struct; + /// <summary> + /// Define a separable two-dimensional convolution filter + /// </summary> + /// <param name="target"> + /// <para> + /// Must be GL_SEPARABLE_2D. + /// </para> + /// </param> + /// <param name="internalformat"> + /// <para> + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// </para> + /// </param> + /// <param name="width"> + /// <para> + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// </para> + /// </param> + /// <param name="height"> + /// <para> + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// </para> + /// </param> + /// <param name="format"> + /// <para> + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// </para> + /// </param> + /// <param name="type"> + /// <para> + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// </para> + /// </param> + /// <param name="row"> + /// <para> + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// </para> + /// </param> + /// <param name="column"> + /// <para> + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// </para> + /// </param> + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use SeparableFilter2D<T6, T7> overloads instead")] + public static extern + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, [InAttribute, OutAttribute] IntPtr column); + + + /// <summary> + /// Define a separable two-dimensional convolution filter + /// </summary> + /// <param name="target"> + /// <para> + /// Must be GL_SEPARABLE_2D. + /// </para> + /// </param> + /// <param name="internalformat"> + /// <para> + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// </para> + /// </param> + /// <param name="width"> + /// <para> + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// </para> + /// </param> + /// <param name="height"> + /// <para> + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// </para> + /// </param> + /// <param name="format"> + /// <para> + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// </para> + /// </param> + /// <param name="type"> + /// <para> + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// </para> + /// </param> + /// <param name="row"> + /// <para> + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// </para> + /// </param> + /// <param name="column"> + /// <para> + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// </para> + /// </param> + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void SeparableFilter2D<T6,T7>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) + where T6 : struct + where T7 : struct; + + + /// <summary> + /// Define a separable two-dimensional convolution filter + /// </summary> + /// <param name="target"> + /// <para> + /// Must be GL_SEPARABLE_2D. + /// </para> + /// </param> + /// <param name="internalformat"> + /// <para> + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// </para> + /// </param> + /// <param name="width"> + /// <para> + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// </para> + /// </param> + /// <param name="height"> + /// <para> + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// </para> + /// </param> + /// <param name="format"> + /// <para> + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// </para> + /// </param> + /// <param name="type"> + /// <para> + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// </para> + /// </param> + /// <param name="row"> + /// <para> + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// </para> + /// </param> + /// <param name="column"> + /// <para> + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// </para> + /// </param> + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void SeparableFilter2D<T6,T7>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) + where T6 : struct + where T7 : struct; + + + /// <summary> + /// Define a separable two-dimensional convolution filter + /// </summary> + /// <param name="target"> + /// <para> + /// Must be GL_SEPARABLE_2D. + /// </para> + /// </param> + /// <param name="internalformat"> + /// <para> + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// </para> + /// </param> + /// <param name="width"> + /// <para> + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// </para> + /// </param> + /// <param name="height"> + /// <para> + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// </para> + /// </param> + /// <param name="format"> + /// <para> + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// </para> + /// </param> + /// <param name="type"> + /// <para> + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// </para> + /// </param> + /// <param name="row"> + /// <para> + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// </para> + /// </param> + /// <param name="column"> + /// <para> + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// </para> + /// </param> + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void SeparableFilter2D<T6,T7>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) + where T6 : struct + where T7 : struct; + + + /// <summary> + /// Define a separable two-dimensional convolution filter + /// </summary> + /// <param name="target"> + /// <para> + /// Must be GL_SEPARABLE_2D. + /// </para> + /// </param> + /// <param name="internalformat"> + /// <para> + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// </para> + /// </param> + /// <param name="width"> + /// <para> + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// </para> + /// </param> + /// <param name="height"> + /// <para> + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// </para> + /// </param> + /// <param name="format"> + /// <para> + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// </para> + /// </param> + /// <param name="type"> + /// <para> + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// </para> + /// </param> + /// <param name="row"> + /// <para> + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// </para> + /// </param> + /// <param name="column"> + /// <para> + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// </para> + /// </param> + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static extern + void SeparableFilter2D<T6,T7>(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct; + + /// <summary> /// Define a separable two-dimensional convolution filter /// </summary>