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.
16 lines
254 B
GLSL
16 lines
254 B
GLSL
#version 330 core
|
|
|
|
layout(location = 0) in vec2 a_pos;
|
|
layout(location = 1) in vec2 a_uv;
|
|
|
|
layout(std140) uniform ub0 {
|
|
mat4 u_mvp;
|
|
vec4 u_tint;
|
|
};
|
|
|
|
out vec2 v_uv;
|
|
|
|
void main() {
|
|
v_uv = a_uv;
|
|
gl_Position = u_mvp * vec4(a_pos, 0.0, 1.0);
|
|
} |