adding generated opengl function binding
This commit is contained in:
@@ -0,0 +1,182 @@
|
||||
// <auto-generated>
|
||||
// Generated by StgSharp.GenerateGL on 2025-12-29 08:55:37Z
|
||||
// Version: 3.3
|
||||
// </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 BindFragDataLocationIndexed(GlHandle program, uint colorNumber, uint index, byte* name)
|
||||
{
|
||||
Context.glBindFragDataLocationIndexed(program.Value, colorNumber, index, name);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void BindSampler(uint unit, GlHandle sampler)
|
||||
{
|
||||
Context.glBindSampler(unit, sampler.Value);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void DeleteSamplers(int count, uint* samplers)
|
||||
{
|
||||
Context.glDeleteSamplers(count, samplers);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GenSamplers(int count, uint* samplers)
|
||||
{
|
||||
Context.glGenSamplers(count, samplers);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public int GetFragDataIndex(GlHandle program, byte* name)
|
||||
{
|
||||
return Context.glGetFragDataIndex(program.Value, name);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetQueryObjecti64v(uint id, uint pname, IntPtr* @params)
|
||||
{
|
||||
Context.glGetQueryObjecti64v(id, pname, @params);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetQueryObjectui64v(uint id, uint pname, IntPtr* @params)
|
||||
{
|
||||
Context.glGetQueryObjectui64v(id, pname, @params);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetSamplerParameterIiv(GlHandle sampler, uint pname, int* @params)
|
||||
{
|
||||
Context.glGetSamplerParameterIiv(sampler.Value, pname, @params);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetSamplerParameterIuiv(GlHandle sampler, uint pname, uint* @params)
|
||||
{
|
||||
Context.glGetSamplerParameterIuiv(sampler.Value, pname, @params);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetSamplerParameterfv(GlHandle sampler, uint pname, float* @params)
|
||||
{
|
||||
Context.glGetSamplerParameterfv(sampler.Value, pname, @params);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void GetSamplerParameteriv(GlHandle sampler, uint pname, int* @params)
|
||||
{
|
||||
Context.glGetSamplerParameteriv(sampler.Value, pname, @params);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public byte IsSampler(GlHandle sampler)
|
||||
{
|
||||
return Context.glIsSampler(sampler.Value);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void QueryCounter(uint id, uint target)
|
||||
{
|
||||
Context.glQueryCounter(id, target);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void SamplerParameterIiv(GlHandle sampler, uint pname, int* param)
|
||||
{
|
||||
Context.glSamplerParameterIiv(sampler.Value, pname, param);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void SamplerParameterIuiv(GlHandle sampler, uint pname, uint* param)
|
||||
{
|
||||
Context.glSamplerParameterIuiv(sampler.Value, pname, param);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void SamplerParameterf(GlHandle sampler, uint pname, float param)
|
||||
{
|
||||
Context.glSamplerParameterf(sampler.Value, pname, param);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void SamplerParameterfv(GlHandle sampler, uint pname, float* param)
|
||||
{
|
||||
Context.glSamplerParameterfv(sampler.Value, pname, param);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void SamplerParameteri(GlHandle sampler, uint pname, int param)
|
||||
{
|
||||
Context.glSamplerParameteri(sampler.Value, pname, param);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void SamplerParameteriv(GlHandle sampler, uint pname, int* param)
|
||||
{
|
||||
Context.glSamplerParameteriv(sampler.Value, pname, param);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexAttribDivisor(uint index, uint divisor)
|
||||
{
|
||||
Context.glVertexAttribDivisor(index, divisor);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexAttribP1ui(uint index, uint type, byte normalized, uint value)
|
||||
{
|
||||
Context.glVertexAttribP1ui(index, type, normalized, value);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexAttribP1uiv(uint index, uint type, byte normalized, uint* value)
|
||||
{
|
||||
Context.glVertexAttribP1uiv(index, type, normalized, value);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexAttribP2ui(uint index, uint type, byte normalized, uint value)
|
||||
{
|
||||
Context.glVertexAttribP2ui(index, type, normalized, value);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexAttribP2uiv(uint index, uint type, byte normalized, uint* value)
|
||||
{
|
||||
Context.glVertexAttribP2uiv(index, type, normalized, value);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexAttribP3ui(uint index, uint type, byte normalized, uint value)
|
||||
{
|
||||
Context.glVertexAttribP3ui(index, type, normalized, value);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexAttribP3uiv(uint index, uint type, byte normalized, uint* value)
|
||||
{
|
||||
Context.glVertexAttribP3uiv(index, type, normalized, value);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexAttribP4ui(uint index, uint type, byte normalized, uint value)
|
||||
{
|
||||
Context.glVertexAttribP4ui(index, type, normalized, value);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void VertexAttribP4uiv(uint index, uint type, byte normalized, uint* value)
|
||||
{
|
||||
Context.glVertexAttribP4uiv(index, type, normalized, value);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user