genericed graphic vector design
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// Desktop OpenGL 4.5 core-profile forwarding methods.
|
||||
// </auto-generated>
|
||||
|
||||
using StgSharp.Mathematics.Graphics;
|
||||
using StgSharp.Mathematics.Numeric.Graphics;
|
||||
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
@@ -66,9 +66,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetTransformFeedbackiv">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetTransformFeedbackiv(GlHandle xfb, uint pname, int* param)
|
||||
public void GetTransformFeedbackiv(GlHandle xfb, uint pName, int* param)
|
||||
{
|
||||
__context->glGetTransformFeedbackiv(xfb.Value, pname, param);
|
||||
__context->glGetTransformFeedbackiv(xfb.Value, pName, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -77,9 +77,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetTransformFeedbacki_v">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetTransformFeedbacki_v(GlHandle xfb, uint pname, uint index, int* param)
|
||||
public void GetTransformFeedbacki_v(GlHandle xfb, uint pName, uint index, int* param)
|
||||
{
|
||||
__context->glGetTransformFeedbacki_v(xfb.Value, pname, index, param);
|
||||
__context->glGetTransformFeedbacki_v(xfb.Value, pName, index, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -88,9 +88,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetTransformFeedbacki64_v">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetTransformFeedbacki64_v(GlHandle xfb, uint pname, uint index, long* param)
|
||||
public void GetTransformFeedbacki64_v(GlHandle xfb, uint pName, uint index, long* param)
|
||||
{
|
||||
__context->glGetTransformFeedbacki64_v(xfb.Value, pname, index, param);
|
||||
__context->glGetTransformFeedbacki64_v(xfb.Value, pName, index, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -223,9 +223,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetNamedBufferParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedBufferParameter(GlHandle buffer, uint pname, int* @params)
|
||||
public void GetNamedBufferParameter(GlHandle buffer, uint pName, int* @params)
|
||||
{
|
||||
__context->glGetNamedBufferParameteriv(buffer.Value, pname, @params);
|
||||
__context->glGetNamedBufferParameteriv(buffer.Value, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -234,9 +234,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetNamedBufferParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedBufferParameter(GlHandle buffer, uint pname, long* @params)
|
||||
public void GetNamedBufferParameter(GlHandle buffer, uint pName, long* @params)
|
||||
{
|
||||
__context->glGetNamedBufferParameteri64v(buffer.Value, pname, @params);
|
||||
__context->glGetNamedBufferParameteri64v(buffer.Value, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -245,9 +245,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetNamedBufferPointerv">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedBufferPointerv(GlHandle buffer, uint pname, void** @params)
|
||||
public void GetNamedBufferPointerv(GlHandle buffer, uint pName, void** @params)
|
||||
{
|
||||
__context->glGetNamedBufferPointerv(buffer.Value, pname, @params);
|
||||
__context->glGetNamedBufferPointerv(buffer.Value, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -292,9 +292,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glNamedFramebufferParameteri">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void NamedFrameBufferParameteri(GlHandle frameBuffer, uint pname, int param)
|
||||
public void NamedFrameBufferParameteri(GlHandle frameBuffer, uint pName, int param)
|
||||
{
|
||||
__context->glNamedFramebufferParameteri(frameBuffer.Value, pname, param);
|
||||
__context->glNamedFramebufferParameteri(frameBuffer.Value, pName, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -446,9 +446,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetNamedFramebufferParameteriv">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedFrameBufferParameteriv(GlHandle frameBuffer, uint pname, int* param)
|
||||
public void GetNamedFrameBufferParameteriv(GlHandle frameBuffer, uint pName, int* param)
|
||||
{
|
||||
__context->glGetNamedFramebufferParameteriv(frameBuffer.Value, pname, param);
|
||||
__context->glGetNamedFramebufferParameteriv(frameBuffer.Value, pName, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -457,9 +457,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetNamedFramebufferAttachmentParameteriv">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedFrameBufferAttachmentParameteriv(GlHandle frameBuffer, uint attachment, uint pname, int* @params)
|
||||
public void GetNamedFrameBufferAttachmentParameteriv(GlHandle frameBuffer, uint attachment, uint pName, int* @params)
|
||||
{
|
||||
__context->glGetNamedFramebufferAttachmentParameteriv(frameBuffer.Value, attachment, pname, @params);
|
||||
__context->glGetNamedFramebufferAttachmentParameteriv(frameBuffer.Value, attachment, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -504,9 +504,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetNamedRenderbufferParameteriv">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedRenderBufferParameteriv(GlHandle renderBuffer, uint pname, int* @params)
|
||||
public void GetNamedRenderBufferParameteriv(GlHandle renderBuffer, uint pName, int* @params)
|
||||
{
|
||||
__context->glGetNamedRenderbufferParameteriv(renderBuffer.Value, pname, @params);
|
||||
__context->glGetNamedRenderbufferParameteriv(renderBuffer.Value, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -606,9 +606,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glTextureSubImage1D">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void TextureSubImage1D(GlHandle texture, int level, int xoffset, int width, uint format, uint type, void* pixels)
|
||||
public void TextureSubImage1D(GlHandle texture, int level, int xOffset, int width, uint format, uint type, void* pixels)
|
||||
{
|
||||
__context->glTextureSubImage1D(texture.Value, level, xoffset, width, format, type, pixels);
|
||||
__context->glTextureSubImage1D(texture.Value, level, xOffset, width, format, type, pixels);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -617,9 +617,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glTextureSubImage2D">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void TextureSubImage2D(GlHandle texture, int level, int xoffset, int yoffset, int width, int height, uint format, uint type, void* pixels)
|
||||
public void TextureSubImage2D(GlHandle texture, int level, int xOffset, int yOffset, int width, int height, uint format, uint type, void* pixels)
|
||||
{
|
||||
__context->glTextureSubImage2D(texture.Value, level, xoffset, yoffset, width, height, format, type, pixels);
|
||||
__context->glTextureSubImage2D(texture.Value, level, xOffset, yOffset, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -628,9 +628,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glTextureSubImage3D">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void TextureSubImage3D(GlHandle texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, uint format, uint type, void* pixels)
|
||||
public void TextureSubImage3D(GlHandle texture, int level, int xOffset, int yOffset, int zOffset, int width, int height, int depth, uint format, uint type, void* pixels)
|
||||
{
|
||||
__context->glTextureSubImage3D(texture.Value, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
|
||||
__context->glTextureSubImage3D(texture.Value, level, xOffset, yOffset, zOffset, width, height, depth, format, type, pixels);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -639,9 +639,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glCompressedTextureSubImage1D">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void CompressedTextureSubImage1D(GlHandle texture, int level, int xoffset, int width, uint format, int imageSize, void* data)
|
||||
public void CompressedTextureSubImage1D(GlHandle texture, int level, int xOffset, int width, uint format, int imageSize, void* data)
|
||||
{
|
||||
__context->glCompressedTextureSubImage1D(texture.Value, level, xoffset, width, format, imageSize, data);
|
||||
__context->glCompressedTextureSubImage1D(texture.Value, level, xOffset, width, format, imageSize, data);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -650,9 +650,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glCompressedTextureSubImage2D">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void CompressedTextureSubImage2D(GlHandle texture, int level, int xoffset, int yoffset, int width, int height, uint format, int imageSize, void* data)
|
||||
public void CompressedTextureSubImage2D(GlHandle texture, int level, int xOffset, int yOffset, int width, int height, uint format, int imageSize, void* data)
|
||||
{
|
||||
__context->glCompressedTextureSubImage2D(texture.Value, level, xoffset, yoffset, width, height, format, imageSize, data);
|
||||
__context->glCompressedTextureSubImage2D(texture.Value, level, xOffset, yOffset, width, height, format, imageSize, data);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -661,9 +661,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glCompressedTextureSubImage3D">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void CompressedTextureSubImage3D(GlHandle texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, uint format, int imageSize, void* data)
|
||||
public void CompressedTextureSubImage3D(GlHandle texture, int level, int xOffset, int yOffset, int zOffset, int width, int height, int depth, uint format, int imageSize, void* data)
|
||||
{
|
||||
__context->glCompressedTextureSubImage3D(texture.Value, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
|
||||
__context->glCompressedTextureSubImage3D(texture.Value, level, xOffset, yOffset, zOffset, width, height, depth, format, imageSize, data);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -672,9 +672,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glCopyTextureSubImage1D">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void CopyTextureSubImage1D(GlHandle texture, int level, int xoffset, int x, int y, int width)
|
||||
public void CopyTextureSubImage1D(GlHandle texture, int level, int xOffset, int x, int y, int width)
|
||||
{
|
||||
__context->glCopyTextureSubImage1D(texture.Value, level, xoffset, x, y, width);
|
||||
__context->glCopyTextureSubImage1D(texture.Value, level, xOffset, x, y, width);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -683,9 +683,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glCopyTextureSubImage2D">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void CopyTextureSubImage2D(GlHandle texture, int level, int xoffset, int yoffset, int x, int y, int width, int height)
|
||||
public void CopyTextureSubImage2D(GlHandle texture, int level, int xOffset, int yOffset, int x, int y, int width, int height)
|
||||
{
|
||||
__context->glCopyTextureSubImage2D(texture.Value, level, xoffset, yoffset, x, y, width, height);
|
||||
__context->glCopyTextureSubImage2D(texture.Value, level, xOffset, yOffset, x, y, width, height);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -694,9 +694,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glCopyTextureSubImage3D">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void CopyTextureSubImage3D(GlHandle texture, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
|
||||
public void CopyTextureSubImage3D(GlHandle texture, int level, int xOffset, int yOffset, int zOffset, int x, int y, int width, int height)
|
||||
{
|
||||
__context->glCopyTextureSubImage3D(texture.Value, level, xoffset, yoffset, zoffset, x, y, width, height);
|
||||
__context->glCopyTextureSubImage3D(texture.Value, level, xOffset, yOffset, zOffset, x, y, width, height);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -705,9 +705,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glTextureParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void NamedTextureParameter(GlHandle texture, uint pname, float param)
|
||||
public void NamedTextureParameter(GlHandle texture, uint pName, float param)
|
||||
{
|
||||
__context->glTextureParameterf(texture.Value, pname, param);
|
||||
__context->glTextureParameterf(texture.Value, pName, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -716,9 +716,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glTextureParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void NamedTextureParameter(GlHandle texture, uint pname, float* param)
|
||||
public void NamedTextureParameter(GlHandle texture, uint pName, float* param)
|
||||
{
|
||||
__context->glTextureParameterfv(texture.Value, pname, param);
|
||||
__context->glTextureParameterfv(texture.Value, pName, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -727,9 +727,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glTextureParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void NamedTextureParameter(GlHandle texture, uint pname, int param)
|
||||
public void NamedTextureParameter(GlHandle texture, uint pName, int param)
|
||||
{
|
||||
__context->glTextureParameteri(texture.Value, pname, param);
|
||||
__context->glTextureParameteri(texture.Value, pName, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -738,9 +738,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glTextureParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void NamedTextureParameterInteger(GlHandle texture, uint pname, int* @params)
|
||||
public void NamedTextureParameterInteger(GlHandle texture, uint pName, int* @params)
|
||||
{
|
||||
__context->glTextureParameterIiv(texture.Value, pname, @params);
|
||||
__context->glTextureParameterIiv(texture.Value, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -749,9 +749,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glTextureParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void NamedTextureParameterInteger(GlHandle texture, uint pname, uint* @params)
|
||||
public void NamedTextureParameterInteger(GlHandle texture, uint pName, uint* @params)
|
||||
{
|
||||
__context->glTextureParameterIuiv(texture.Value, pname, @params);
|
||||
__context->glTextureParameterIuiv(texture.Value, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -760,9 +760,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glTextureParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void NamedTextureParameter(GlHandle texture, uint pname, int* param)
|
||||
public void NamedTextureParameter(GlHandle texture, uint pName, int* param)
|
||||
{
|
||||
__context->glTextureParameteriv(texture.Value, pname, param);
|
||||
__context->glTextureParameteriv(texture.Value, pName, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -815,9 +815,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetTextureLevelParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedTextureLevelParameter(GlHandle texture, int level, uint pname, float* @params)
|
||||
public void GetNamedTextureLevelParameter(GlHandle texture, int level, uint pName, float* @params)
|
||||
{
|
||||
__context->glGetTextureLevelParameterfv(texture.Value, level, pname, @params);
|
||||
__context->glGetTextureLevelParameterfv(texture.Value, level, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -826,9 +826,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetTextureLevelParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedTextureLevelParameter(GlHandle texture, int level, uint pname, int* @params)
|
||||
public void GetNamedTextureLevelParameter(GlHandle texture, int level, uint pName, int* @params)
|
||||
{
|
||||
__context->glGetTextureLevelParameteriv(texture.Value, level, pname, @params);
|
||||
__context->glGetTextureLevelParameteriv(texture.Value, level, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -837,9 +837,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetTextureParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedTextureParameter(GlHandle texture, uint pname, float* @params)
|
||||
public void GetNamedTextureParameter(GlHandle texture, uint pName, float* @params)
|
||||
{
|
||||
__context->glGetTextureParameterfv(texture.Value, pname, @params);
|
||||
__context->glGetTextureParameterfv(texture.Value, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -848,9 +848,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetTextureParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedTextureParameterInteger(GlHandle texture, uint pname, int* @params)
|
||||
public void GetNamedTextureParameterInteger(GlHandle texture, uint pName, int* @params)
|
||||
{
|
||||
__context->glGetTextureParameterIiv(texture.Value, pname, @params);
|
||||
__context->glGetTextureParameterIiv(texture.Value, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -859,9 +859,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetTextureParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedTextureParameterInteger(GlHandle texture, uint pname, uint* @params)
|
||||
public void GetNamedTextureParameterInteger(GlHandle texture, uint pName, uint* @params)
|
||||
{
|
||||
__context->glGetTextureParameterIuiv(texture.Value, pname, @params);
|
||||
__context->glGetTextureParameterIuiv(texture.Value, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -870,9 +870,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetTextureParameter">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetNamedTextureParameter(GlHandle texture, uint pname, int* @params)
|
||||
public void GetNamedTextureParameter(GlHandle texture, uint pName, int* @params)
|
||||
{
|
||||
__context->glGetTextureParameteriv(texture.Value, pname, @params);
|
||||
__context->glGetTextureParameteriv(texture.Value, pName, @params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -895,9 +895,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glDisableVertexArrayAttrib">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void DisableVertexArrayAttribute(GlHandle vaobj, uint index)
|
||||
public void DisableVertexArrayAttribute(GlHandle vertexArray, uint index)
|
||||
{
|
||||
__context->glDisableVertexArrayAttrib(vaobj.Value, index);
|
||||
__context->glDisableVertexArrayAttrib(vertexArray.Value, index);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -906,9 +906,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glEnableVertexArrayAttrib">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void EnableVertexArrayAttribute(GlHandle vaobj, uint index)
|
||||
public void EnableVertexArrayAttribute(GlHandle vertexArray, uint index)
|
||||
{
|
||||
__context->glEnableVertexArrayAttrib(vaobj.Value, index);
|
||||
__context->glEnableVertexArrayAttrib(vertexArray.Value, index);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -917,9 +917,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glVertexArrayElementBuffer">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexArrayElementBuffer(GlHandle vaobj, GlHandle buffer)
|
||||
public void VertexArrayElementBuffer(GlHandle vertexArray, GlHandle buffer)
|
||||
{
|
||||
__context->glVertexArrayElementBuffer(vaobj.Value, buffer.Value);
|
||||
__context->glVertexArrayElementBuffer(vertexArray.Value, buffer.Value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -928,9 +928,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glVertexArrayVertexBuffer">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexArrayVertexBuffer(GlHandle vaobj, uint bindingIndex, GlHandle buffer, nint offset, int stride)
|
||||
public void VertexArrayVertexBuffer(GlHandle vertexArray, uint bindingIndex, GlHandle buffer, nint offset, int stride)
|
||||
{
|
||||
__context->glVertexArrayVertexBuffer(vaobj.Value, bindingIndex, buffer.Value, offset, stride);
|
||||
__context->glVertexArrayVertexBuffer(vertexArray.Value, bindingIndex, buffer.Value, offset, stride);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -939,11 +939,11 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glVertexArrayVertexBuffers">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexArrayVertexBuffers(GlHandle vaobj, uint first, ReadOnlySpan<GlHandle> buffers, nint* offsets, int* strides)
|
||||
public void VertexArrayVertexBuffers(GlHandle vertexArray, uint first, ReadOnlySpan<GlHandle> buffers, nint* offsets, int* strides)
|
||||
{
|
||||
fixed (GlHandle* __buffers = buffers)
|
||||
{
|
||||
__context->glVertexArrayVertexBuffers(vaobj.Value, first, buffers.Length, (uint*)__buffers, offsets, strides);
|
||||
__context->glVertexArrayVertexBuffers(vertexArray.Value, first, buffers.Length, (uint*)__buffers, offsets, strides);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -953,9 +953,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glVertexArrayAttribBinding">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexArrayAttributeBinding(GlHandle vaobj, uint attributeIndex, uint bindingIndex)
|
||||
public void VertexArrayAttributeBinding(GlHandle vertexArray, uint attributeIndex, uint bindingIndex)
|
||||
{
|
||||
__context->glVertexArrayAttribBinding(vaobj.Value, attributeIndex, bindingIndex);
|
||||
__context->glVertexArrayAttribBinding(vertexArray.Value, attributeIndex, bindingIndex);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -964,9 +964,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glVertexAttribFormat">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexArrayAttributeFormat(GlHandle vaobj, uint attributeIndex, int size, uint type, byte normalized, uint relativeOffset)
|
||||
public void VertexArrayAttributeFormat(GlHandle vertexArray, uint attributeIndex, int size, uint type, byte normalized, uint relativeOffset)
|
||||
{
|
||||
__context->glVertexArrayAttribFormat(vaobj.Value, attributeIndex, size, type, normalized, relativeOffset);
|
||||
__context->glVertexArrayAttribFormat(vertexArray.Value, attributeIndex, size, type, normalized, relativeOffset);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -975,9 +975,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glVertexAttribFormat">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexArrayAttributeIntegerFormat(GlHandle vaobj, uint attributeIndex, int size, uint type, uint relativeOffset)
|
||||
public void VertexArrayAttributeIntegerFormat(GlHandle vertexArray, uint attributeIndex, int size, uint type, uint relativeOffset)
|
||||
{
|
||||
__context->glVertexArrayAttribIFormat(vaobj.Value, attributeIndex, size, type, relativeOffset);
|
||||
__context->glVertexArrayAttribIFormat(vertexArray.Value, attributeIndex, size, type, relativeOffset);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -986,9 +986,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glVertexAttribFormat">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexArrayAttributeDoubleFormat(GlHandle vaobj, uint attributeIndex, int size, uint type, uint relativeOffset)
|
||||
public void VertexArrayAttributeDoubleFormat(GlHandle vertexArray, uint attributeIndex, int size, uint type, uint relativeOffset)
|
||||
{
|
||||
__context->glVertexArrayAttribLFormat(vaobj.Value, attributeIndex, size, type, relativeOffset);
|
||||
__context->glVertexArrayAttribLFormat(vertexArray.Value, attributeIndex, size, type, relativeOffset);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -997,9 +997,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glVertexArrayBindingDivisor">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexArrayBindingDivisor(GlHandle vaobj, uint bindingIndex, uint divisor)
|
||||
public void VertexArrayBindingDivisor(GlHandle vertexArray, uint bindingIndex, uint divisor)
|
||||
{
|
||||
__context->glVertexArrayBindingDivisor(vaobj.Value, bindingIndex, divisor);
|
||||
__context->glVertexArrayBindingDivisor(vertexArray.Value, bindingIndex, divisor);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1008,9 +1008,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetVertexArrayiv">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetVertexArrayiv(GlHandle vaobj, uint pname, int* param)
|
||||
public void GetVertexArrayiv(GlHandle vertexArray, uint pName, int* param)
|
||||
{
|
||||
__context->glGetVertexArrayiv(vaobj.Value, pname, param);
|
||||
__context->glGetVertexArrayiv(vertexArray.Value, pName, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1019,9 +1019,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetVertexArrayIndexediv">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetVertexArrayIndexediv(GlHandle vaobj, uint index, uint pname, int* param)
|
||||
public void GetVertexArrayIndexediv(GlHandle vertexArray, uint index, uint pName, int* param)
|
||||
{
|
||||
__context->glGetVertexArrayIndexediv(vaobj.Value, index, pname, param);
|
||||
__context->glGetVertexArrayIndexediv(vertexArray.Value, index, pName, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1030,9 +1030,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetVertexArrayIndexed64iv">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetVertexArrayIndexed64iv(GlHandle vaobj, uint index, uint pname, long* param)
|
||||
public void GetVertexArrayIndexed64iv(GlHandle vertexArray, uint index, uint pName, long* param)
|
||||
{
|
||||
__context->glGetVertexArrayIndexed64iv(vaobj.Value, index, pname, param);
|
||||
__context->glGetVertexArrayIndexed64iv(vertexArray.Value, index, pName, param);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1083,9 +1083,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetQueryBufferObjecti64v">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetQueryBufferObjecti64v(GlHandle id, GlHandle buffer, uint pname, nint offset)
|
||||
public void GetQueryBufferObjecti64v(GlHandle id, GlHandle buffer, uint pName, nint offset)
|
||||
{
|
||||
__context->glGetQueryBufferObjecti64v(id.Value, buffer.Value, pname, offset);
|
||||
__context->glGetQueryBufferObjecti64v(id.Value, buffer.Value, pName, offset);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1094,9 +1094,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetQueryBufferObjectiv">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetQueryBufferObjectiv(GlHandle id, GlHandle buffer, uint pname, nint offset)
|
||||
public void GetQueryBufferObjectiv(GlHandle id, GlHandle buffer, uint pName, nint offset)
|
||||
{
|
||||
__context->glGetQueryBufferObjectiv(id.Value, buffer.Value, pname, offset);
|
||||
__context->glGetQueryBufferObjectiv(id.Value, buffer.Value, pName, offset);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1105,9 +1105,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetQueryBufferObjectui64v">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetQueryBufferObjectui64v(GlHandle id, GlHandle buffer, uint pname, nint offset)
|
||||
public void GetQueryBufferObjectui64v(GlHandle id, GlHandle buffer, uint pName, nint offset)
|
||||
{
|
||||
__context->glGetQueryBufferObjectui64v(id.Value, buffer.Value, pname, offset);
|
||||
__context->glGetQueryBufferObjectui64v(id.Value, buffer.Value, pName, offset);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1116,9 +1116,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetQueryBufferObjectuiv">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetQueryBufferObjectuiv(GlHandle id, GlHandle buffer, uint pname, nint offset)
|
||||
public void GetQueryBufferObjectuiv(GlHandle id, GlHandle buffer, uint pName, nint offset)
|
||||
{
|
||||
__context->glGetQueryBufferObjectuiv(id.Value, buffer.Value, pname, offset);
|
||||
__context->glGetQueryBufferObjectuiv(id.Value, buffer.Value, pName, offset);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1138,9 +1138,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetTextureSubImage">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetTextureSubImage(GlHandle texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, uint format, uint type, int bufSize, void* pixels)
|
||||
public void GetTextureSubImage(GlHandle texture, int level, int xOffset, int yOffset, int zOffset, int width, int height, int depth, uint format, uint type, int bufSize, void* pixels)
|
||||
{
|
||||
__context->glGetTextureSubImage(texture.Value, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bufSize, pixels);
|
||||
__context->glGetTextureSubImage(texture.Value, level, xOffset, yOffset, zOffset, width, height, depth, format, type, bufSize, pixels);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1149,9 +1149,9 @@ namespace StgSharp.Graphics.OpenGL
|
||||
/// <para>See <see href="https://docs.gl/gl4/glGetCompressedTextureSubImage">docs.gl</see>.</para>
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetCompressedTextureSubImage(GlHandle texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int bufSize, void* pixels)
|
||||
public void GetCompressedTextureSubImage(GlHandle texture, int level, int xOffset, int yOffset, int zOffset, int width, int height, int depth, int bufSize, void* pixels)
|
||||
{
|
||||
__context->glGetCompressedTextureSubImage(texture.Value, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pixels);
|
||||
__context->glGetCompressedTextureSubImage(texture.Value, level, xOffset, yOffset, zOffset, width, height, depth, bufSize, pixels);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user