-import Graphics.WebGL (Bool, Buffer, ContextAttributes, Float, Mat2, Mat3, Mat4, Sampler2D, Vec2, Vec3, Vec4, WebGLContext, WebGLProg, Attribute(Attribute), BlendEquation(BLEND_EQUATION, BLEND_EQUATION_ALPHA, BLEND_EQUATION_RGB, FUNC_ADD, FUNC_REVERSE_SUBTRACT, FUNC_SUBTRACT), BlendingFactor(BLEND_COLOR, BLEND_DST_ALPHA, BLEND_DST_RGB, BLEND_SRC_ALPHA, BLEND_SRC_RGB, CONSTANT_ALPHA, CONSTANT_COLOR, DST_ALPHA, DST_COLOR, ONE, ONE_MINUS_CONSTANT_ALPHA, ONE_MINUS_CONSTANT_COLOR, ONE_MINUS_DST_ALPHA, ONE_MINUS_DST_COLOR, ONE_MINUS_SRC_ALPHA, ONE_MINUS_SRC_COLOR, SRC_ALPHA, SRC_ALPHA_SATURATE, SRC_COLOR, ZERO), BufferTarget(ARRAY_BUFFER, ELEMENT_ARRAY_BUFFER), Capacity(BLEND, CULL_FACE, DEPTH_TEST, POLYGON_OFFSET_FILL, SCISSOR_TEST), Func(ALWAYS, EQUAL, GEQUAL, GREATER, LEQUAL, LESS, NEVER, NOTEQUAL), Mask(COLOR_BUFFER_BIT, DEPTH_BUFFER_BIT, STENCIL_BUFFER_BIT), Mode(LINES, LINE_LOOP, LINE_STRIP, POINTS, TRIANGLES, TRIANGLE_FAN, TRIANGLE_STRIP), Shaders(Shaders), Uniform(Uniform), bindBuf, bindBufAndSetVertexAttr, blendColor, blendEquation, blendEquationSeparate, blendFunc, blendFuncSeparate, clear, clearColor, clearDepth, clearStencil, colorMask, defContextAttributes, depthFunc, disable, disableVertexAttribArray, drawArr, drawElements, enable, enableVertexAttribArray, fillBuffer, getCanvasHeight, getCanvasWidth, isContextLost, isEnabled, makeBuffer, makeBufferDyn, makeBufferFloat, makeBufferFloatDyn, requestAnimationFrame, runWebGL, runWebGLAttr, setUniformBoolean, setUniformFloats, vertexPointer, viewport, withShaders)
0 commit comments