Files
stgsharp/StgSharp.Common/Graphics/OpenGL/glFunction.v4_5.cs
T

747 lines
32 KiB
C#

// <auto-generated>
// Generated by StgSharp.GenerateGL on 2025-12-29 08:55:37Z
// Version: 4.5
// </auto-generated>
using System;
using System.Runtime.CompilerServices;
using StgSharp.Graphics.OpenGL;
namespace StgSharp.Graphics.OpenGL
{
public unsafe partial class OpenGLFunction
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void BindTextureUnit(uint unit, GlHandle texture)
{
Context.glBindTextureUnit(unit, texture.Value);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void BlitNamedFramebuffer(GlHandle readFramebuffer, GlHandle drawFramebuffer, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, uint mask, uint filter)
{
Context.glBlitNamedFramebuffer(readFramebuffer.Value, drawFramebuffer.Value, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public uint CheckNamedFramebufferStatus(GlHandle framebuffer, uint target)
{
return Context.glCheckNamedFramebufferStatus(framebuffer.Value, target);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void ClearNamedBufferData(GlHandle buffer, uint internalformat, uint format, uint type, IntPtr* data)
{
Context.glClearNamedBufferData(buffer.Value, internalformat, format, type, data);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void ClearNamedBufferSubData(GlHandle buffer, uint internalformat, nint offset, nuint size, uint format, uint type, IntPtr* data)
{
Context.glClearNamedBufferSubData(buffer.Value, internalformat, offset, size, format, type, data);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void ClearNamedFramebufferfi(GlHandle framebuffer, uint buffer, int drawbuffer, float depth, int stencil)
{
Context.glClearNamedFramebufferfi(framebuffer.Value, buffer, drawbuffer, depth, stencil);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void ClearNamedFramebufferfv(GlHandle framebuffer, uint buffer, int drawbuffer, float* value)
{
Context.glClearNamedFramebufferfv(framebuffer.Value, buffer, drawbuffer, value);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void ClearNamedFramebufferiv(GlHandle framebuffer, uint buffer, int drawbuffer, int* value)
{
Context.glClearNamedFramebufferiv(framebuffer.Value, buffer, drawbuffer, value);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void ClearNamedFramebufferuiv(GlHandle framebuffer, uint buffer, int drawbuffer, uint* value)
{
Context.glClearNamedFramebufferuiv(framebuffer.Value, buffer, drawbuffer, value);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void ClipControl(uint origin, uint depth)
{
Context.glClipControl(origin, depth);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CompressedTextureSubImage1D(GlHandle texture, int level, int xoffset, int width, uint format, int imageSize, IntPtr* data)
{
Context.glCompressedTextureSubImage1D(texture.Value, level, xoffset, width, format, imageSize, data);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CompressedTextureSubImage2D(GlHandle texture, int level, int xoffset, int yoffset, int width, int height, uint format, int imageSize, IntPtr* data)
{
Context.glCompressedTextureSubImage2D(texture.Value, level, xoffset, yoffset, width, height, format, imageSize, data);
}
[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, IntPtr* data)
{
Context.glCompressedTextureSubImage3D(texture.Value, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CopyNamedBufferSubData(GlHandle readBuffer, GlHandle writeBuffer, nint readOffset, nint writeOffset, nuint size)
{
Context.glCopyNamedBufferSubData(readBuffer.Value, writeBuffer.Value, readOffset, writeOffset, size);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CopyTextureSubImage1D(GlHandle texture, int level, int xoffset, int x, int y, int width)
{
Context.glCopyTextureSubImage1D(texture.Value, level, xoffset, x, y, width);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
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);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
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);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CreateBuffers(int n, uint* buffers)
{
Context.glCreateBuffers(n, buffers);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CreateFramebuffers(int n, uint* framebuffers)
{
Context.glCreateFramebuffers(n, framebuffers);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CreateProgramPipelines(int n, uint* pipelines)
{
Context.glCreateProgramPipelines(n, pipelines);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CreateQueries(uint target, int n, uint* ids)
{
Context.glCreateQueries(target, n, ids);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CreateRenderbuffers(int n, uint* renderbuffers)
{
Context.glCreateRenderbuffers(n, renderbuffers);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CreateSamplers(int n, uint* samplers)
{
Context.glCreateSamplers(n, samplers);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CreateTextures(uint target, int n, uint* textures)
{
Context.glCreateTextures(target, n, textures);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CreateTransformFeedbacks(int n, uint* ids)
{
Context.glCreateTransformFeedbacks(n, ids);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void CreateVertexArrays(int n, uint* arrays)
{
Context.glCreateVertexArrays(n, arrays);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void DisableVertexArrayAttrib(uint vaobj, uint index)
{
Context.glDisableVertexArrayAttrib(vaobj, index);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void EnableVertexArrayAttrib(uint vaobj, uint index)
{
Context.glEnableVertexArrayAttrib(vaobj, index);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void FlushMappedNamedBufferRange(GlHandle buffer, nint offset, nuint length)
{
Context.glFlushMappedNamedBufferRange(buffer.Value, offset, length);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GenerateTextureMipmap(GlHandle texture)
{
Context.glGenerateTextureMipmap(texture.Value);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetCompressedTextureImage(GlHandle texture, int level, int bufSize, IntPtr* pixels)
{
Context.glGetCompressedTextureImage(texture.Value, level, bufSize, pixels);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetCompressedTextureSubImage(GlHandle texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int bufSize, IntPtr* pixels)
{
Context.glGetCompressedTextureSubImage(texture.Value, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pixels);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public uint GetGraphicsResetStatus()
{
return Context.glGetGraphicsResetStatus();
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetNamedBufferParameteri64v(GlHandle buffer, uint pname, IntPtr* @params)
{
Context.glGetNamedBufferParameteri64v(buffer.Value, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetNamedBufferParameteriv(GlHandle buffer, uint pname, int* @params)
{
Context.glGetNamedBufferParameteriv(buffer.Value, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetNamedBufferPointerv(GlHandle buffer, uint pname, IntPtr* @params)
{
Context.glGetNamedBufferPointerv(buffer.Value, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetNamedBufferSubData(GlHandle buffer, nint offset, nuint size, IntPtr* data)
{
Context.glGetNamedBufferSubData(buffer.Value, offset, size, data);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetNamedFramebufferAttachmentParameteriv(GlHandle framebuffer, uint attachment, uint pname, int* @params)
{
Context.glGetNamedFramebufferAttachmentParameteriv(framebuffer.Value, attachment, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetNamedFramebufferParameteriv(GlHandle framebuffer, uint pname, int* param)
{
Context.glGetNamedFramebufferParameteriv(framebuffer.Value, pname, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetNamedRenderbufferParameteriv(GlHandle renderbuffer, uint pname, int* @params)
{
Context.glGetNamedRenderbufferParameteriv(renderbuffer.Value, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetQueryBufferObjecti64v(uint id, GlHandle buffer, uint pname, nint offset)
{
Context.glGetQueryBufferObjecti64v(id, buffer.Value, pname, offset);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetQueryBufferObjectiv(uint id, GlHandle buffer, uint pname, nint offset)
{
Context.glGetQueryBufferObjectiv(id, buffer.Value, pname, offset);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetQueryBufferObjectui64v(uint id, GlHandle buffer, uint pname, nint offset)
{
Context.glGetQueryBufferObjectui64v(id, buffer.Value, pname, offset);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetQueryBufferObjectuiv(uint id, GlHandle buffer, uint pname, nint offset)
{
Context.glGetQueryBufferObjectuiv(id, buffer.Value, pname, offset);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetTextureImage(GlHandle texture, int level, uint format, uint type, int bufSize, IntPtr* pixels)
{
Context.glGetTextureImage(texture.Value, level, format, type, bufSize, pixels);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetTextureLevelParameterfv(GlHandle texture, int level, uint pname, float* @params)
{
Context.glGetTextureLevelParameterfv(texture.Value, level, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetTextureLevelParameteriv(GlHandle texture, int level, uint pname, int* @params)
{
Context.glGetTextureLevelParameteriv(texture.Value, level, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetTextureParameterIiv(GlHandle texture, uint pname, int* @params)
{
Context.glGetTextureParameterIiv(texture.Value, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetTextureParameterIuiv(GlHandle texture, uint pname, uint* @params)
{
Context.glGetTextureParameterIuiv(texture.Value, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetTextureParameterfv(GlHandle texture, uint pname, float* @params)
{
Context.glGetTextureParameterfv(texture.Value, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetTextureParameteriv(GlHandle texture, uint pname, int* @params)
{
Context.glGetTextureParameteriv(texture.Value, pname, @params);
}
[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, IntPtr* pixels)
{
Context.glGetTextureSubImage(texture.Value, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bufSize, pixels);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetTransformFeedbacki64_v(uint xfb, uint pname, uint index, IntPtr* param)
{
Context.glGetTransformFeedbacki64_v(xfb, pname, index, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetTransformFeedbacki_v(uint xfb, uint pname, uint index, int* param)
{
Context.glGetTransformFeedbacki_v(xfb, pname, index, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetTransformFeedbackiv(uint xfb, uint pname, int* param)
{
Context.glGetTransformFeedbackiv(xfb, pname, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetVertexArrayIndexed64iv(uint vaobj, uint index, uint pname, IntPtr* param)
{
Context.glGetVertexArrayIndexed64iv(vaobj, index, pname, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetVertexArrayIndexediv(uint vaobj, uint index, uint pname, int* param)
{
Context.glGetVertexArrayIndexediv(vaobj, index, pname, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetVertexArrayiv(uint vaobj, uint pname, int* param)
{
Context.glGetVertexArrayiv(vaobj, pname, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnColorTable(uint target, uint format, uint type, int bufSize, IntPtr* table)
{
Context.glGetnColorTable(target, format, type, bufSize, table);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnCompressedTexImage(uint target, int lod, int bufSize, IntPtr* pixels)
{
Context.glGetnCompressedTexImage(target, lod, bufSize, pixels);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnConvolutionFilter(uint target, uint format, uint type, int bufSize, IntPtr* image)
{
Context.glGetnConvolutionFilter(target, format, type, bufSize, image);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnHistogram(uint target, byte reset, uint format, uint type, int bufSize, IntPtr* values)
{
Context.glGetnHistogram(target, reset, format, type, bufSize, values);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnMapdv(uint target, uint query, int bufSize, double* v)
{
Context.glGetnMapdv(target, query, bufSize, v);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnMapfv(uint target, uint query, int bufSize, float* v)
{
Context.glGetnMapfv(target, query, bufSize, v);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnMapiv(uint target, uint query, int bufSize, int* v)
{
Context.glGetnMapiv(target, query, bufSize, v);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnMinmax(uint target, byte reset, uint format, uint type, int bufSize, IntPtr* values)
{
Context.glGetnMinmax(target, reset, format, type, bufSize, values);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnPixelMapfv(uint map, int bufSize, float* values)
{
Context.glGetnPixelMapfv(map, bufSize, values);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnPixelMapuiv(uint map, int bufSize, uint* values)
{
Context.glGetnPixelMapuiv(map, bufSize, values);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnPixelMapusv(uint map, int bufSize, ushort* values)
{
Context.glGetnPixelMapusv(map, bufSize, values);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnPolygonStipple(int bufSize, byte* pattern)
{
Context.glGetnPolygonStipple(bufSize, pattern);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnSeparableFilter(uint target, uint format, uint type, int rowBufSize, IntPtr* row, int columnBufSize, IntPtr* column, IntPtr* span)
{
Context.glGetnSeparableFilter(target, format, type, rowBufSize, row, columnBufSize, column, span);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnTexImage(uint target, int level, uint format, uint type, int bufSize, IntPtr* pixels)
{
Context.glGetnTexImage(target, level, format, type, bufSize, pixels);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnUniformdv(GlHandle program, int location, int bufSize, double* @params)
{
Context.glGetnUniformdv(program.Value, location, bufSize, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnUniformfv(GlHandle program, int location, int bufSize, float* @params)
{
Context.glGetnUniformfv(program.Value, location, bufSize, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnUniformiv(GlHandle program, int location, int bufSize, int* @params)
{
Context.glGetnUniformiv(program.Value, location, bufSize, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void GetnUniformuiv(GlHandle program, int location, int bufSize, uint* @params)
{
Context.glGetnUniformuiv(program.Value, location, bufSize, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void InvalidateNamedFramebufferData(GlHandle framebuffer, int numAttachments, uint* attachments)
{
Context.glInvalidateNamedFramebufferData(framebuffer.Value, numAttachments, attachments);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void InvalidateNamedFramebufferSubData(GlHandle framebuffer, int numAttachments, uint* attachments, int x, int y, int width, int height)
{
Context.glInvalidateNamedFramebufferSubData(framebuffer.Value, numAttachments, attachments, x, y, width, height);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void MapNamedBuffer(GlHandle buffer, uint access)
{
Context.glMapNamedBuffer(buffer.Value, access);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void MapNamedBufferRange(GlHandle buffer, nint offset, nuint length, uint access)
{
Context.glMapNamedBufferRange(buffer.Value, offset, length, access);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void MemoryBarrierByRegion(uint barriers)
{
Context.glMemoryBarrierByRegion(barriers);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedBufferData(GlHandle buffer, nuint size, IntPtr* data, uint usage)
{
Context.glNamedBufferData(buffer.Value, size, data, usage);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedBufferStorage(GlHandle buffer, nuint size, IntPtr* data, uint flags)
{
Context.glNamedBufferStorage(buffer.Value, size, data, flags);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedBufferSubData(GlHandle buffer, nint offset, nuint size, IntPtr* data)
{
Context.glNamedBufferSubData(buffer.Value, offset, size, data);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedFramebufferDrawBuffer(GlHandle framebuffer, uint buf)
{
Context.glNamedFramebufferDrawBuffer(framebuffer.Value, buf);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedFramebufferDrawBuffers(GlHandle framebuffer, int n, uint* bufs)
{
Context.glNamedFramebufferDrawBuffers(framebuffer.Value, n, bufs);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedFramebufferParameteri(GlHandle framebuffer, uint pname, int param)
{
Context.glNamedFramebufferParameteri(framebuffer.Value, pname, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedFramebufferReadBuffer(GlHandle framebuffer, uint src)
{
Context.glNamedFramebufferReadBuffer(framebuffer.Value, src);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedFramebufferRenderbuffer(GlHandle framebuffer, uint attachment, uint renderbuffertarget, GlHandle renderbuffer)
{
Context.glNamedFramebufferRenderbuffer(framebuffer.Value, attachment, renderbuffertarget, renderbuffer.Value);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedFramebufferTexture(GlHandle framebuffer, uint attachment, GlHandle texture, int level)
{
Context.glNamedFramebufferTexture(framebuffer.Value, attachment, texture.Value, level);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedFramebufferTextureLayer(GlHandle framebuffer, uint attachment, GlHandle texture, int level, int layer)
{
Context.glNamedFramebufferTextureLayer(framebuffer.Value, attachment, texture.Value, level, layer);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedRenderbufferStorage(GlHandle renderbuffer, uint internalformat, int width, int height)
{
Context.glNamedRenderbufferStorage(renderbuffer.Value, internalformat, width, height);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void NamedRenderbufferStorageMultisample(GlHandle renderbuffer, int samples, uint internalformat, int width, int height)
{
Context.glNamedRenderbufferStorageMultisample(renderbuffer.Value, samples, internalformat, width, height);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void ReadnPixels(int x, int y, int width, int height, uint format, uint type, int bufSize, IntPtr* data)
{
Context.glReadnPixels(x, y, width, height, format, type, bufSize, data);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureBarrier()
{
Context.glTextureBarrier();
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureBuffer(GlHandle texture, uint internalformat, GlHandle buffer)
{
Context.glTextureBuffer(texture.Value, internalformat, buffer.Value);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureBufferRange(GlHandle texture, uint internalformat, GlHandle buffer, nint offset, nuint size)
{
Context.glTextureBufferRange(texture.Value, internalformat, buffer.Value, offset, size);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureParameterIiv(GlHandle texture, uint pname, int* @params)
{
Context.glTextureParameterIiv(texture.Value, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureParameterIuiv(GlHandle texture, uint pname, uint* @params)
{
Context.glTextureParameterIuiv(texture.Value, pname, @params);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureParameterf(GlHandle texture, uint pname, float param)
{
Context.glTextureParameterf(texture.Value, pname, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureParameterfv(GlHandle texture, uint pname, float* param)
{
Context.glTextureParameterfv(texture.Value, pname, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureParameteri(GlHandle texture, uint pname, int param)
{
Context.glTextureParameteri(texture.Value, pname, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureParameteriv(GlHandle texture, uint pname, int* param)
{
Context.glTextureParameteriv(texture.Value, pname, param);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureStorage1D(GlHandle texture, int levels, uint internalformat, int width)
{
Context.glTextureStorage1D(texture.Value, levels, internalformat, width);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureStorage2D(GlHandle texture, int levels, uint internalformat, int width, int height)
{
Context.glTextureStorage2D(texture.Value, levels, internalformat, width, height);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureStorage2DMultisample(GlHandle texture, int samples, uint internalformat, int width, int height, byte fixedsamplelocations)
{
Context.glTextureStorage2DMultisample(texture.Value, samples, internalformat, width, height, fixedsamplelocations);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureStorage3D(GlHandle texture, int levels, uint internalformat, int width, int height, int depth)
{
Context.glTextureStorage3D(texture.Value, levels, internalformat, width, height, depth);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureStorage3DMultisample(GlHandle texture, int samples, uint internalformat, int width, int height, int depth, byte fixedsamplelocations)
{
Context.glTextureStorage3DMultisample(texture.Value, samples, internalformat, width, height, depth, fixedsamplelocations);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureSubImage1D(GlHandle texture, int level, int xoffset, int width, uint format, uint type, IntPtr* pixels)
{
Context.glTextureSubImage1D(texture.Value, level, xoffset, width, format, type, pixels);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TextureSubImage2D(GlHandle texture, int level, int xoffset, int yoffset, int width, int height, uint format, uint type, IntPtr* pixels)
{
Context.glTextureSubImage2D(texture.Value, level, xoffset, yoffset, width, height, format, type, pixels);
}
[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, IntPtr* pixels)
{
Context.glTextureSubImage3D(texture.Value, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TransformFeedbackBufferBase(uint xfb, uint index, GlHandle buffer)
{
Context.glTransformFeedbackBufferBase(xfb, index, buffer.Value);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void TransformFeedbackBufferRange(uint xfb, uint index, GlHandle buffer, nint offset, nuint size)
{
Context.glTransformFeedbackBufferRange(xfb, index, buffer.Value, offset, size);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public byte UnmapNamedBuffer(GlHandle buffer)
{
return Context.glUnmapNamedBuffer(buffer.Value);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void VertexArrayAttribBinding(uint vaobj, uint attribindex, uint bindingindex)
{
Context.glVertexArrayAttribBinding(vaobj, attribindex, bindingindex);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void VertexArrayAttribFormat(uint vaobj, uint attribindex, int size, uint type, byte normalized, uint relativeoffset)
{
Context.glVertexArrayAttribFormat(vaobj, attribindex, size, type, normalized, relativeoffset);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void VertexArrayAttribIFormat(uint vaobj, uint attribindex, int size, uint type, uint relativeoffset)
{
Context.glVertexArrayAttribIFormat(vaobj, attribindex, size, type, relativeoffset);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void VertexArrayAttribLFormat(uint vaobj, uint attribindex, int size, uint type, uint relativeoffset)
{
Context.glVertexArrayAttribLFormat(vaobj, attribindex, size, type, relativeoffset);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void VertexArrayBindingDivisor(uint vaobj, uint bindingindex, uint divisor)
{
Context.glVertexArrayBindingDivisor(vaobj, bindingindex, divisor);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void VertexArrayElementBuffer(uint vaobj, GlHandle buffer)
{
Context.glVertexArrayElementBuffer(vaobj, buffer.Value);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void VertexArrayVertexBuffer(uint vaobj, uint bindingindex, GlHandle buffer, nint offset, int stride)
{
Context.glVertexArrayVertexBuffer(vaobj, bindingindex, buffer.Value, offset, stride);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void VertexArrayVertexBuffers(uint vaobj, uint first, int count, uint* buffers, nint* offsets, int* strides)
{
Context.glVertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, strides);
}
}
}