daily update on 20240207 by nitload youmu

This commit is contained in:
Nitload
2024-02-07 13:47:12 +08:00
parent 8548757bbf
commit 6fe6b3b3cf
37 changed files with 231 additions and 196 deletions
@@ -13,13 +13,13 @@ namespace StgSharp.Graphics
public unsafe class Texture
{
internal static bool[] unitActivated = new bool[16];
internal glHandle _textureHandle;
internal glHandleSet _textureHandle;
internal Image[] sourceList;
private IglFunc GL;
internal Texture(uint n, IglFunc gl)
{
_textureHandle = new glHandle((int)n);
_textureHandle = new glHandleSet((int)n);
sourceList = new Image[n];
GL = gl;
GL.GenTextures(n, _textureHandle);