Versions in this module Expand all Collapse all v0 v0.15.0 Jun 13, 2021 v0.14.0 Jun 13, 2021 v0.13.0 Jun 13, 2021 Changes in this version + const ACTIVE_ATTRIBUTES + const ACTIVE_ATTRIBUTE_MAX_LENGTH + const ACTIVE_TEXTURE + const ACTIVE_UNIFORMS + const ACTIVE_UNIFORM_MAX_LENGTH + const ALIASED_LINE_WIDTH_RANGE + const ALIASED_POINT_SIZE_RANGE + const ALPHA + const ALPHA_BITS + const ALWAYS + const ARRAY_BUFFER + const ARRAY_BUFFER_BINDING + const ATTACHED_SHADERS + const BACK + const BLEND + const BLEND_DST_ALPHA + const BLEND_DST_RGB + const BLEND_EQUATION_ALPHA + const BLEND_EQUATION_RGB + const BLEND_SRC_ALPHA + const BLEND_SRC_RGB + const BLUE_BITS + const BOOL + const BOOL_VEC2 + const BOOL_VEC3 + const BOOL_VEC4 + const BUFFER_SIZE + const BUFFER_USAGE + const BYTE + const CCW + const CLAMP_TO_EDGE + const COLOR_ATTACHMENT0 + const COLOR_BUFFER_BIT + const COLOR_CLEAR_VALUE + const COLOR_WRITEMASK + const COMPILE_STATUS + const COMPRESSED_TEXTURE_FORMATS + const CONSTANT_ALPHA + const CONSTANT_COLOR + const CULL_FACE + const CULL_FACE_MODE + const CURRENT_PROGRAM + const CURRENT_VERTEX_ATTRIB + const CW + const DECR + const DECR_WRAP + const DELETE_STATUS + const DEPTH_ATTACHMENT + const DEPTH_BITS + const DEPTH_BUFFER_BIT + const DEPTH_CLEAR_VALUE + const DEPTH_COMPONENT + const DEPTH_COMPONENT16 + const DEPTH_FUNC + const DEPTH_RANGE + const DEPTH_TEST + const DEPTH_WRITEMASK + const DITHER + const DONT_CARE + const DST_ALPHA + const DST_COLOR + const DYNAMIC_DRAW + const ELEMENT_ARRAY_BUFFER + const ELEMENT_ARRAY_BUFFER_BINDING + const EQUAL + const EXTENSIONS + const FALSE + const FASTEST + const FLOAT + const FLOAT_MAT2 + const FLOAT_MAT3 + const FLOAT_MAT4 + const FLOAT_VEC2 + const FLOAT_VEC3 + const FLOAT_VEC4 + const FRAGMENT_SHADER + const FRAMEBUFFER + const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME + const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE + const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE + const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL + const FRAMEBUFFER_BINDING + const FRAMEBUFFER_COMPLETE + const FRAMEBUFFER_INCOMPLETE_ATTACHMENT + const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT + const FRAMEBUFFER_UNSUPPORTED + const FRONT + const FRONT_AND_BACK + const FRONT_FACE + const FUNC_ADD + const FUNC_REVERSE_SUBTRACT + const FUNC_SUBTRACT + const GENERATE_MIPMAP_HINT + const GEQUAL + const GREATER + const GREEN_BITS + const INCR + const INCR_WRAP + const INFO_LOG_LENGTH + const INT + const INT_VEC2 + const INT_VEC3 + const INT_VEC4 + const INVALID_ENUM + const INVALID_FRAMEBUFFER_OPERATION + const INVALID_OPERATION + const INVALID_VALUE + const INVERT + const KEEP + const LEQUAL + const LESS + const LINEAR + const LINEAR_MIPMAP_LINEAR + const LINEAR_MIPMAP_NEAREST + const LINES + const LINE_LOOP + const LINE_STRIP + const LINE_WIDTH + const LINK_STATUS + const LUMINANCE + const LUMINANCE_ALPHA + const MAX_COMBINED_TEXTURE_IMAGE_UNITS + const MAX_CUBE_MAP_TEXTURE_SIZE + const MAX_RENDERBUFFER_SIZE + const MAX_TEXTURE_IMAGE_UNITS + const MAX_TEXTURE_SIZE + const MAX_VERTEX_ATTRIBS + const MAX_VERTEX_TEXTURE_IMAGE_UNITS + const MAX_VIEWPORT_DIMS + const MIRRORED_REPEAT + const NEAREST + const NEAREST_MIPMAP_LINEAR + const NEAREST_MIPMAP_NEAREST + const NEVER + const NICEST + const NONE + const NOTEQUAL + const NO_ERROR + const NUM_COMPRESSED_TEXTURE_FORMATS + const ONE + const ONE_MINUS_CONSTANT_ALPHA + const ONE_MINUS_CONSTANT_COLOR + const ONE_MINUS_DST_ALPHA + const ONE_MINUS_DST_COLOR + const ONE_MINUS_SRC_ALPHA + const ONE_MINUS_SRC_COLOR + const OUT_OF_MEMORY + const PACK_ALIGNMENT + const POINTS + const POLYGON_OFFSET_FACTOR + const POLYGON_OFFSET_FILL + const POLYGON_OFFSET_UNITS + const RED_BITS + const RENDERBUFFER + const RENDERBUFFER_ALPHA_SIZE + const RENDERBUFFER_BINDING + const RENDERBUFFER_BLUE_SIZE + const RENDERBUFFER_DEPTH_SIZE + const RENDERBUFFER_GREEN_SIZE + const RENDERBUFFER_HEIGHT + const RENDERBUFFER_INTERNAL_FORMAT + const RENDERBUFFER_RED_SIZE + const RENDERBUFFER_STENCIL_SIZE + const RENDERBUFFER_WIDTH + const RENDERER + const REPEAT + const REPLACE + const RGB + const RGB5_A1 + const RGBA + const RGBA4 + const SAMPLER_2D + const SAMPLER_CUBE + const SAMPLES + const SAMPLE_ALPHA_TO_COVERAGE + const SAMPLE_BUFFERS + const SAMPLE_COVERAGE + const SAMPLE_COVERAGE_INVERT + const SAMPLE_COVERAGE_VALUE + const SCISSOR_BOX + const SCISSOR_TEST + const SHADER_SOURCE_LENGTH + const SHADER_TYPE + const SHADING_LANGUAGE_VERSION + const SHORT + const SRC_ALPHA + const SRC_ALPHA_SATURATE + const SRC_COLOR + const STATIC_DRAW + const STENCIL_ATTACHMENT + const STENCIL_BACK_FAIL + const STENCIL_BACK_FUNC + const STENCIL_BACK_PASS_DEPTH_FAIL + const STENCIL_BACK_PASS_DEPTH_PASS + const STENCIL_BACK_REF + const STENCIL_BACK_VALUE_MASK + const STENCIL_BACK_WRITEMASK + const STENCIL_BITS + const STENCIL_BUFFER_BIT + const STENCIL_CLEAR_VALUE + const STENCIL_FAIL + const STENCIL_FUNC + const STENCIL_INDEX8 + const STENCIL_PASS_DEPTH_FAIL + const STENCIL_PASS_DEPTH_PASS + const STENCIL_REF + const STENCIL_TEST + const STENCIL_VALUE_MASK + const STENCIL_WRITEMASK + const STREAM_DRAW + const SUBPIXEL_BITS + const TEXTURE + const TEXTURE0 + const TEXTURE1 + const TEXTURE10 + const TEXTURE11 + const TEXTURE12 + const TEXTURE13 + const TEXTURE14 + const TEXTURE15 + const TEXTURE16 + const TEXTURE17 + const TEXTURE18 + const TEXTURE19 + const TEXTURE2 + const TEXTURE20 + const TEXTURE21 + const TEXTURE22 + const TEXTURE23 + const TEXTURE24 + const TEXTURE25 + const TEXTURE26 + const TEXTURE27 + const TEXTURE28 + const TEXTURE29 + const TEXTURE3 + const TEXTURE30 + const TEXTURE31 + const TEXTURE4 + const TEXTURE5 + const TEXTURE6 + const TEXTURE7 + const TEXTURE8 + const TEXTURE9 + const TEXTURE_2D + const TEXTURE_BINDING_2D + const TEXTURE_BINDING_CUBE_MAP + const TEXTURE_CUBE_MAP + const TEXTURE_CUBE_MAP_NEGATIVE_X + const TEXTURE_CUBE_MAP_NEGATIVE_Y + const TEXTURE_CUBE_MAP_NEGATIVE_Z + const TEXTURE_CUBE_MAP_POSITIVE_X + const TEXTURE_CUBE_MAP_POSITIVE_Y + const TEXTURE_CUBE_MAP_POSITIVE_Z + const TEXTURE_MAG_FILTER + const TEXTURE_MIN_FILTER + const TEXTURE_WRAP_S + const TEXTURE_WRAP_T + const TRIANGLES + const TRIANGLE_FAN + const TRIANGLE_STRIP + const TRUE + const UNPACK_ALIGNMENT + const UNSIGNED_BYTE + const UNSIGNED_INT + const UNSIGNED_SHORT + const UNSIGNED_SHORT_4_4_4_4 + const UNSIGNED_SHORT_5_5_5_1 + const UNSIGNED_SHORT_5_6_5 + const VALIDATE_STATUS + const VENDOR + const VERSION + const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING + const VERTEX_ATTRIB_ARRAY_ENABLED + const VERTEX_ATTRIB_ARRAY_NORMALIZED + const VERTEX_ATTRIB_ARRAY_POINTER + const VERTEX_ATTRIB_ARRAY_SIZE + const VERTEX_ATTRIB_ARRAY_STRIDE + const VERTEX_ATTRIB_ARRAY_TYPE + const VERTEX_SHADER + const VIEWPORT + const ZERO + func ActiveTexture(texture uint32) + func AttachShader(program uint32, shader uint32) + func BindAttribLocation(program uint32, index uint32, name *uint8) + func BindBuffer(target uint32, buffer uint32) + func BindFramebuffer(target uint32, framebuffer uint32) + func BindRenderbuffer(target uint32, renderbuffer uint32) + func BindTexture(target uint32, texture uint32) + func BlendColor(red float32, green float32, blue float32, alpha float32) + func BlendEquation(mode uint32) + func BlendEquationSeparate(modeRGB uint32, modeAlpha uint32) + func BlendFunc(sfactor uint32, dfactor uint32) + func BlendFuncSeparate(sfactorRGB uint32, dfactorRGB uint32, sfactorAlpha uint32, dfactorAlpha uint32) + func BufferData(target uint32, size int, data unsafe.Pointer, usage uint32) + func BufferSubData(target uint32, offset int, size int, data unsafe.Pointer) + func CheckFramebufferStatus(target uint32) uint32 + func Clear(mask uint32) + func ClearColor(red float32, green float32, blue float32, alpha float32) + func ClearStencil(s int32) + func ColorMask(red bool, green bool, blue bool, alpha bool) + func CompileShader(shader uint32) + func CompressedTexImage2D(target uint32, level int32, internalformat uint32, width int32, height int32, ...) + func CompressedTexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, width int32, ...) + func CopyTexImage2D(target uint32, level int32, internalformat uint32, x int32, y int32, ...) + func CopyTexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, ...) + func CreateProgram() uint32 + func CreateShader(xtype uint32) uint32 + func CullFace(mode uint32) + func DeleteBuffers(n int32, buffers *uint32) + func DeleteFramebuffers(n int32, framebuffers *uint32) + func DeleteProgram(program uint32) + func DeleteRenderbuffers(n int32, renderbuffers *uint32) + func DeleteShader(shader uint32) + func DeleteTextures(n int32, textures *uint32) + func DepthFunc(xfunc uint32) + func DepthMask(flag bool) + func DetachShader(program uint32, shader uint32) + func Disable(cap uint32) + func DisableVertexAttribArray(index uint32) + func DrawArrays(mode uint32, first int32, count int32) + func DrawElements(mode uint32, count int32, xtype uint32, indices unsafe.Pointer) + func Enable(cap uint32) + func EnableVertexAttribArray(index uint32) + func Finish() + func Flush() + func FramebufferRenderbuffer(target uint32, attachment uint32, renderbuffertarget uint32, ...) + func FramebufferTexture2D(target uint32, attachment uint32, textarget uint32, texture uint32, ...) + func FrontFace(mode uint32) + func GenBuffers(n int32, buffers *uint32) + func GenFramebuffers(n int32, framebuffers *uint32) + func GenRenderbuffers(n int32, renderbuffers *uint32) + func GenTextures(n int32, textures *uint32) + func GenerateMipmap(target uint32) + func GetActiveAttrib(program uint32, index uint32, bufSize int32, length *int32, size *int32, ...) + func GetActiveUniform(program uint32, index uint32, bufSize int32, length *int32, size *int32, ...) + func GetAttachedShaders(program uint32, maxCount int32, count *int32, shaders *uint32) + func GetAttribLocation(program uint32, name *uint8) int32 + func GetBooleanv(pname uint32, data *bool) + func GetBufferParameteriv(target uint32, pname uint32, params *int32) + func GetError() uint32 + func GetFloatv(pname uint32, data *float32) + func GetFramebufferAttachmentParameteriv(target uint32, attachment uint32, pname uint32, params *int32) + func GetIntegerv(pname uint32, data *int32) + func GetProgramInfoLog(program uint32, bufSize int32, length *int32, infoLog *uint8) + func GetProgramiv(program uint32, pname uint32, params *int32) + func GetRenderbufferParameteriv(target uint32, pname uint32, params *int32) + func GetShaderInfoLog(shader uint32, bufSize int32, length *int32, infoLog *uint8) + func GetShaderSource(shader uint32, bufSize int32, length *int32, source *uint8) + func GetShaderiv(shader uint32, pname uint32, params *int32) + func GetString(name uint32) *uint8 + func GetTexParameterfv(target uint32, pname uint32, params *float32) + func GetTexParameteriv(target uint32, pname uint32, params *int32) + func GetUniformLocation(program uint32, name *uint8) int32 + func GetUniformfv(program uint32, location int32, params *float32) + func GetUniformiv(program uint32, location int32, params *int32) + func GetVertexAttribPointerv(index uint32, pname uint32, pointer *unsafe.Pointer) + func GetVertexAttribfv(index uint32, pname uint32, params *float32) + func GetVertexAttribiv(index uint32, pname uint32, params *int32) + func GoStr(cstr *uint8) string + func Hint(target uint32, mode uint32) + func Init() error + func InitWithProcAddrFunc(getProcAddr func(name string) unsafe.Pointer) error + func IsBuffer(buffer uint32) bool + func IsEnabled(cap uint32) bool + func IsFramebuffer(framebuffer uint32) bool + func IsProgram(program uint32) bool + func IsRenderbuffer(renderbuffer uint32) bool + func IsShader(shader uint32) bool + func IsTexture(texture uint32) bool + func LineWidth(width float32) + func LinkProgram(program uint32) + func PixelStorei(pname uint32, param int32) + func PolygonOffset(factor float32, units float32) + func Ptr(data interface{}) unsafe.Pointer + func PtrOffset(offset int) unsafe.Pointer + func ReadPixels(x int32, y int32, width int32, height int32, format uint32, xtype uint32, ...) + func RenderbufferStorage(target uint32, internalformat uint32, width int32, height int32) + func SampleCoverage(value float32, invert bool) + func Scissor(x int32, y int32, width int32, height int32) + func ShaderSource(shader uint32, count int32, xstring **uint8, length *int32) + func StencilFunc(xfunc uint32, ref int32, mask uint32) + func StencilFuncSeparate(face uint32, xfunc uint32, ref int32, mask uint32) + func StencilMask(mask uint32) + func StencilMaskSeparate(face uint32, mask uint32) + func StencilOp(fail uint32, zfail uint32, zpass uint32) + func StencilOpSeparate(face uint32, sfail uint32, dpfail uint32, dppass uint32) + func Str(str string) *uint8 + func Strs(strs ...string) (cstrs **uint8, free func()) + func TexImage2D(target uint32, level int32, internalformat int32, width int32, height int32, ...) + func TexParameterf(target uint32, pname uint32, param float32) + func TexParameterfv(target uint32, pname uint32, params *float32) + func TexParameteri(target uint32, pname uint32, param int32) + func TexParameteriv(target uint32, pname uint32, params *int32) + func TexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, width int32, ...) + func Uniform1f(location int32, v0 float32) + func Uniform1fv(location int32, count int32, value *float32) + func Uniform1i(location int32, v0 int32) + func Uniform1iv(location int32, count int32, value *int32) + func Uniform2f(location int32, v0 float32, v1 float32) + func Uniform2fv(location int32, count int32, value *float32) + func Uniform2i(location int32, v0 int32, v1 int32) + func Uniform2iv(location int32, count int32, value *int32) + func Uniform3f(location int32, v0 float32, v1 float32, v2 float32) + func Uniform3fv(location int32, count int32, value *float32) + func Uniform3i(location int32, v0 int32, v1 int32, v2 int32) + func Uniform3iv(location int32, count int32, value *int32) + func Uniform4f(location int32, v0 float32, v1 float32, v2 float32, v3 float32) + func Uniform4fv(location int32, count int32, value *float32) + func Uniform4i(location int32, v0 int32, v1 int32, v2 int32, v3 int32) + func Uniform4iv(location int32, count int32, value *int32) + func UniformMatrix2fv(location int32, count int32, transpose bool, value *float32) + func UniformMatrix3fv(location int32, count int32, transpose bool, value *float32) + func UniformMatrix4fv(location int32, count int32, transpose bool, value *float32) + func UseProgram(program uint32) + func ValidateProgram(program uint32) + func VertexAttrib1f(index uint32, x float32) + func VertexAttrib1fv(index uint32, v *float32) + func VertexAttrib2f(index uint32, x float32, y float32) + func VertexAttrib2fv(index uint32, v *float32) + func VertexAttrib3f(index uint32, x float32, y float32, z float32) + func VertexAttrib3fv(index uint32, v *float32) + func VertexAttrib4f(index uint32, x float32, y float32, z float32, w float32) + func VertexAttrib4fv(index uint32, v *float32) + func VertexAttribPointer(index uint32, size int32, xtype uint32, normalized bool, stride int32, ...) + func Viewport(x int32, y int32, width int32, height int32)