Foundation for the aego engine. core/ errs, log, handle arena, mathx, clock, stats platform SDL3 backend plus a headless one, input state, events gpu device abstraction with gl33 and null backends vfs scheme-based virtual filesystem with overlay mounts engine builder, module registry, phase-ordered system loop, jobs demos basic, resize, input, headless; sandbox driver OpenGL bindings are generated into gpu/gl33/gl by tools/gen-gl.sh, so the module has no external dependencies.
32 lines
602 B
Go
32 lines
602 B
Go
// Code generated by glow (https://github.com/go-gl/glow). DO NOT EDIT.
|
|
|
|
package gl
|
|
|
|
import "C"
|
|
import "unsafe"
|
|
|
|
type DebugProc func(
|
|
source uint32,
|
|
gltype uint32,
|
|
id uint32,
|
|
severity uint32,
|
|
length int32,
|
|
message string,
|
|
userParam unsafe.Pointer)
|
|
|
|
var userDebugCallback DebugProc
|
|
|
|
//export glowDebugCallback_glcore33
|
|
func glowDebugCallback_glcore33(
|
|
source uint32,
|
|
gltype uint32,
|
|
id uint32,
|
|
severity uint32,
|
|
length int32,
|
|
message *uint8,
|
|
userParam unsafe.Pointer) {
|
|
if userDebugCallback != nil {
|
|
userDebugCallback(source, gltype, id, severity, length, GoStr(message), userParam)
|
|
}
|
|
}
|