A combination of Imgui Dear JS Port and TinyGL Graphics Library
draw_cmd.TextureId is null, gl.genTextures is something I’m certain is needed for this value not to be null.draw_cmd.drawElements() isn’t doing what it’s meant to do due to something that needs done by tinyGL.This code is experimental, but the goal is: