merge vertexbuffer and indexbuffer to buffer.cpp/h file

This commit is contained in:
2025-11-22 15:19:48 +08:00
parent d24ca28e74
commit 104b08ef24
23 changed files with 337 additions and 230 deletions

View File

@ -13,7 +13,9 @@ void main()
layout(location = 0) out vec4 o_Color;
uniform vec4 u_Color;
void main()
{
o_Color = vec4(1.0, 0.0, 1.0, 1.0);
o_Color = u_Color;
}