// // Generated by StgSharp.GenerateGL on 2025-12-29 08:55:37Z // Version: 4.2 // using System; using System.Runtime.CompilerServices; using StgSharp.Graphics.OpenGL; namespace StgSharp.Graphics.OpenGL { public unsafe partial class OpenGLFunction { [MethodImpl(MethodImplOptions.AggressiveInlining)] public void BindImageTexture(uint unit, GlHandle texture, int level, byte layered, int layer, uint access, uint format) { Context.glBindImageTexture(unit, texture.Value, level, layered, layer, access, format); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public void DrawArraysInstancedBaseInstance(uint mode, int first, int count, int instancecount, uint baseinstance) { Context.glDrawArraysInstancedBaseInstance(mode, first, count, instancecount, baseinstance); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public void DrawElementsInstancedBaseInstance(uint mode, int count, uint type, IntPtr* indices, int instancecount, uint baseinstance) { Context.glDrawElementsInstancedBaseInstance(mode, count, type, indices, instancecount, baseinstance); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public void DrawElementsInstancedBaseVertexBaseInstance(uint mode, int count, uint type, IntPtr* indices, int instancecount, int basevertex, uint baseinstance) { Context.glDrawElementsInstancedBaseVertexBaseInstance(mode, count, type, indices, instancecount, basevertex, baseinstance); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public void DrawTransformFeedbackInstanced(uint mode, uint id, int instancecount) { Context.glDrawTransformFeedbackInstanced(mode, id, instancecount); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public void DrawTransformFeedbackStreamInstanced(uint mode, uint id, uint stream, int instancecount) { Context.glDrawTransformFeedbackStreamInstanced(mode, id, stream, instancecount); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public void GetActiveAtomicCounterBufferiv(GlHandle program, GlHandle bufferIndex, uint pname, int* @params) { Context.glGetActiveAtomicCounterBufferiv(program.Value, bufferIndex.Value, pname, @params); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public void GetInternalformativ(uint target, uint internalformat, uint pname, int count, int* @params) { Context.glGetInternalformativ(target, internalformat, pname, count, @params); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public void MemoryBarrier(uint barriers) { Context.glMemoryBarrier(barriers); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public void TexStorage1D(uint target, int levels, uint internalformat, int width) { Context.glTexStorage1D(target, levels, internalformat, width); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public void TexStorage2D(uint target, int levels, uint internalformat, int width, int height) { Context.glTexStorage2D(target, levels, internalformat, width, height); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public void TexStorage3D(uint target, int levels, uint internalformat, int width, int height, int depth) { Context.glTexStorage3D(target, levels, internalformat, width, height, depth); } } }