hxn-gpu-webgl2
WebGL2 in the browser, on hxcpp and Ash compiled to wasm, for browsers without WebGPU.
Classes
BufferA buffer object.ContextA WebGL2 context on the web page's canvas.FramebufferA framebuffer with one attachment.ProgramA linked program.SamplerA sampler object.ShadersShaders from hxnsl, for WebGL2.TextureA 2D texture of one level.VertexArrayA vertex array: attribute layouts and the buffers they read, and an element buffer.
Abstracts
BufferTargetThe binding target a buffer is created for, OpenGL ES's values.ClearBitsContext.clearbits, OpenGL ES's values, or-ed together.ComponentTypeA vertex attribute's or index's component type, OpenGL ES's values.FilterA sampler's filter, OpenGL ES's values.PrimitiveA draw's primitive, OpenGL ES's values.TextureFormatA texture's internal format, OpenGL ES's values.UsageA buffer's usage hint, OpenGL ES's values.WrapA sampler's wrap mode, OpenGL ES's values.