shader prog

This commit is contained in:
2026-03-17 17:05:39 -05:00
parent ff92a78dda
commit 66ebcb1608
11 changed files with 303 additions and 140 deletions

View File

@@ -16,9 +16,15 @@ typedef enum {
} meshprimitivetypegl_t;
typedef struct {
const meshvertex_t *vertices;
int32_t vertexCount;
meshprimitivetypegl_t primitiveType;
#ifdef DUSK_OPENGL_LEGACY
const meshvertex_t *vertices;
#else
GLuint vaoId;
GLuint vboId;
#endif
} meshgl_t;
/**