genericed graphic vector design

This commit is contained in:
Youmu Liu
2026-08-28 18:09:56 +08:00
parent 3cba929599
commit 0b2593a5f6
64 changed files with 1890 additions and 2229 deletions
@@ -3,7 +3,7 @@
// Desktop OpenGL 4.3 core-profile forwarding methods.
// </auto-generated>
using StgSharp.Mathematics.Graphics;
using StgSharp.Mathematics.Numeric.Graphics;
using System;
using System.Runtime.CompilerServices;
@@ -74,9 +74,9 @@ namespace StgSharp.Graphics.OpenGL
/// <para>See <see href="https://docs.gl/gl4/glFramebufferParameteri">docs.gl</see>.</para>
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void FrameBufferParameteri(uint target, uint pname, int param)
public void FrameBufferParameteri(uint target, uint pName, int param)
{
__context->glFramebufferParameteri(target, pname, param);
__context->glFramebufferParameteri(target, pName, param);
}
/// <summary>
@@ -85,9 +85,9 @@ namespace StgSharp.Graphics.OpenGL
/// <para>See <see href="https://docs.gl/gl4/glGetFramebufferParameteriv">docs.gl</see>.</para>
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetFrameBufferParameteriv(uint target, uint pname, int* @params)
public void GetFrameBufferParameteriv(uint target, uint pName, int* @params)
{
__context->glGetFramebufferParameteriv(target, pname, @params);
__context->glGetFramebufferParameteriv(target, pName, @params);
}
/// <summary>
@@ -96,9 +96,9 @@ namespace StgSharp.Graphics.OpenGL
/// <para>See <see href="https://docs.gl/gl4/glGetInternalformat">docs.gl</see>.</para>
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetInternalFormat(uint target, uint internalFormat, uint pname, int count, long* @params)
public void GetInternalFormat(uint target, uint internalFormat, uint pName, int count, long* @params)
{
__context->glGetInternalformati64v(target, internalFormat, pname, count, @params);
__context->glGetInternalformati64v(target, internalFormat, pName, count, @params);
}
/// <summary>
@@ -107,9 +107,9 @@ namespace StgSharp.Graphics.OpenGL
/// <para>See <see href="https://docs.gl/gl4/glInvalidateTexSubImage">docs.gl</see>.</para>
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void InvalidateTexSubImage(GlHandle texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth)
public void InvalidateTexSubImage(GlHandle texture, int level, int xOffset, int yOffset, int zOffset, int width, int height, int depth)
{
__context->glInvalidateTexSubImage(texture.Value, level, xoffset, yoffset, zoffset, width, height, depth);
__context->glInvalidateTexSubImage(texture.Value, level, xOffset, yOffset, zOffset, width, height, depth);
}
/// <summary>
@@ -195,9 +195,9 @@ namespace StgSharp.Graphics.OpenGL
/// <para>See <see href="https://docs.gl/gl4/glGetProgramInterfaceiv">docs.gl</see>.</para>
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetProgramInterfaceiv(GlHandle program, uint programInterface, uint pname, int* @params)
public void GetProgramInterfaceiv(GlHandle program, uint programInterface, uint pName, int* @params)
{
__context->glGetProgramInterfaceiv(program.Value, programInterface, pname, @params);
__context->glGetProgramInterfaceiv(program.Value, programInterface, pName, @params);
}
/// <summary>