//go:build !wasm package webgl func CreateContext(canvasID int32) Context { panic("webgl: not wasm") } func CreateContextFromHandle(el int32) Context { panic("webgl: not wasm") } func DeleteContext(ctx Context) { panic("webgl: not wasm") } func Enable(ctx Context, cap int32) { panic("webgl: not wasm") } func Disable(ctx Context, cap int32) { panic("webgl: not wasm") } func Viewport(ctx Context, x, y, w, h int32) { panic("webgl: not wasm") } func Scissor(ctx Context, x, y, w, h int32) { panic("webgl: not wasm") } func BlendFunc(ctx Context, src, dst int32) { panic("webgl: not wasm") } func BlendFuncSeparate(ctx Context, srcRGB, dstRGB, srcA, dstA int32) { panic("webgl: not wasm") } func BlendEquation(ctx Context, mode int32) { panic("webgl: not wasm") } func DepthFunc(ctx Context, fn int32) { panic("webgl: not wasm") } func DepthMask(ctx Context, flag int32) { panic("webgl: not wasm") } func ClearColor(ctx Context, r, g, b, a float32) { panic("webgl: not wasm") } func ClearDepth(ctx Context, d float32) { panic("webgl: not wasm") } func Clear(ctx Context, mask int32) { panic("webgl: not wasm") } func Flush(ctx Context) { panic("webgl: not wasm") } func Finish(ctx Context) { panic("webgl: not wasm") } func GetError(ctx Context) int32 { panic("webgl: not wasm") } func GetInteger(ctx Context, pname int32) int32 { panic("webgl: not wasm") } func IsEnabled(ctx Context, cap int32) int32 { panic("webgl: not wasm") } func PixelStorei(ctx Context, pname, param int32) { panic("webgl: not wasm") } func ReadPixels(ctx Context, x, y, w, h, format, typ int32, bufPtr *byte, bufLen int32) { panic("webgl: not wasm") } func CreateBuffer(ctx Context) Buffer { panic("webgl: not wasm") } func DeleteBuffer(ctx Context, buf Buffer) { panic("webgl: not wasm") } func BindBuffer(ctx Context, target int32, buf Buffer) { panic("webgl: not wasm") } func BufferData(ctx Context, target int32, dataPtr *byte, dataLen int32, usage int32) { panic("webgl: not wasm") } func BufferSubData(ctx Context, target int32, offset int32, dataPtr *byte, dataLen int32) { panic("webgl: not wasm") } func CreateTexture(ctx Context) Texture { panic("webgl: not wasm") } func DeleteTexture(ctx Context, tex Texture) { panic("webgl: not wasm") } func BindTexture(ctx Context, target int32, tex Texture) { panic("webgl: not wasm") } func ActiveTexture(ctx Context, unit int32) { panic("webgl: not wasm") } func TexParameteri(ctx Context, target, pname, param int32) { panic("webgl: not wasm") } func TexImage2D(ctx Context, target, level, internalformat, width, height, border, format, typ int32, dataPtr *byte, dataLen int32) { panic("webgl: not wasm") } func TexStorage2D(ctx Context, target, levels, internalformat, width, height int32) { panic("webgl: not wasm") } func TexSubImage2D(ctx Context, target, level, xoff, yoff, width, height, format, typ int32, dataPtr *byte, dataLen int32) { panic("webgl: not wasm") } func CopyTexSubImage2D(ctx Context, target, level, xoff, yoff, x, y, w, h int32) { panic("webgl: not wasm") } func GenerateMipmap(ctx Context, target int32) { panic("webgl: not wasm") } func CreateFramebuffer(ctx Context) Framebuffer { panic("webgl: not wasm") } func DeleteFramebuffer(ctx Context, fbo Framebuffer) { panic("webgl: not wasm") } func BindFramebuffer(ctx Context, target int32, fbo Framebuffer) { panic("webgl: not wasm") } func FramebufferTexture2D(ctx Context, target, attachment, textarget int32, tex Texture, level int32) { panic("webgl: not wasm") } func CheckFramebufferStatus(ctx Context, target int32) int32 { panic("webgl: not wasm") } func InvalidateFramebuffer(ctx Context, target, attachment int32) { panic("webgl: not wasm") } func CreateRenderbuffer(ctx Context) Renderbuffer { panic("webgl: not wasm") } func DeleteRenderbuffer(ctx Context, rbo Renderbuffer) { panic("webgl: not wasm") } func BindRenderbuffer(ctx Context, target int32, rbo Renderbuffer) { panic("webgl: not wasm") } func RenderbufferStorage(ctx Context, target, internalformat, width, height int32) { panic("webgl: not wasm") } func FramebufferRenderbuffer(ctx Context, target, attachment, renderbuffertarget int32, rbo Renderbuffer) { panic("webgl: not wasm") } func CreateShader(ctx Context, typ int32) Shader { panic("webgl: not wasm") } func DeleteShader(ctx Context, shader Shader) { panic("webgl: not wasm") } func ShaderSource(ctx Context, shader Shader, srcPtr *byte, srcLen int32) { panic("webgl: not wasm") } func CompileShader(ctx Context, shader Shader) { panic("webgl: not wasm") } func GetShaderParameter(ctx Context, shader Shader, pname int32) int32 { panic("webgl: not wasm") } func GetShaderInfoLog(ctx Context, shader Shader, bufPtr *byte, bufLen int32) int32 { panic("webgl: not wasm") } func CreateProgram(ctx Context) Program { panic("webgl: not wasm") } func DeleteProgram(ctx Context, prog Program) { panic("webgl: not wasm") } func AttachShader(ctx Context, prog Program, shader Shader) { panic("webgl: not wasm") } func LinkProgram(ctx Context, prog Program) { panic("webgl: not wasm") } func UseProgram(ctx Context, prog Program) { panic("webgl: not wasm") } func GetProgramParameter(ctx Context, prog Program, pname int32) int32 { panic("webgl: not wasm") } func GetProgramInfoLog(ctx Context, prog Program, bufPtr *byte, bufLen int32) int32 { panic("webgl: not wasm") } func BindAttribLocation(ctx Context, prog Program, index int32, namePtr *byte, nameLen int32) { panic("webgl: not wasm") } func GetUniformLocation(ctx Context, prog Program, namePtr *byte, nameLen int32) UniformLocation { panic("webgl: not wasm") } func Uniform1f(ctx Context, loc UniformLocation, v0 float32) { panic("webgl: not wasm") } func Uniform2f(ctx Context, loc UniformLocation, v0, v1 float32) { panic("webgl: not wasm") } func Uniform3f(ctx Context, loc UniformLocation, v0, v1, v2 float32) { panic("webgl: not wasm") } func Uniform4f(ctx Context, loc UniformLocation, v0, v1, v2, v3 float32) { panic("webgl: not wasm") } func Uniform1i(ctx Context, loc UniformLocation, v0 int32) { panic("webgl: not wasm") } func EnableVertexAttribArray(ctx Context, index int32) { panic("webgl: not wasm") } func DisableVertexAttribArray(ctx Context, index int32) { panic("webgl: not wasm") } func VertexAttribPointer(ctx Context, index, size, typ, normalized, stride, offset int32) { panic("webgl: not wasm") } func DrawArrays(ctx Context, mode, first, count int32) { panic("webgl: not wasm") } func DrawElements(ctx Context, mode, count, typ, offset int32) { panic("webgl: not wasm") }