Daily update on 20231211 by nitload youmu

This commit is contained in:
Nitload
2023-12-12 03:17:16 +08:00
parent ab85c1a9fe
commit f97fb137ba
100 changed files with 2699 additions and 3191 deletions
+7 -6
View File
@@ -3,6 +3,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
@@ -10,11 +11,15 @@ namespace StgSharp.Graphics
{
internal partial class GLonUpdate : IglFunc
{
internal GLcontext api;
void IglFunc.ActiveTexture(uint type)
{
throw new NotImplementedException();
}
void IglFunc.AttachShader(uint program, uint shader)
{
throw new NotImplementedException();
@@ -25,7 +30,6 @@ namespace StgSharp.Graphics
throw new NotImplementedException();
}
void IglFunc.BindTexture(uint type, uint texture)
{
throw new NotImplementedException();
@@ -206,14 +210,11 @@ namespace StgSharp.Graphics
throw new NotImplementedException();
}
public void SetFrameBufferSizeCallback(IntPtr id, FrameBufferSizeHandler handler)
{
InternalIO.glfw.SetFramebufferSizeCallback(id, handler);
}
void IglFunc.SetFrameBufferSizeCallback(IntPtr id, FrameBufferSizeHandler handler)
{
throw new NotImplementedException();
IntPtr handlerPtr = Marshal.GetFunctionPointerForDelegate(handler);
InternalIO.glfw.SetFramebufferSizeCallback(id, handlerPtr);
}