diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 23:27:23 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 23:27:23 +0100 |
| commit | 97d4714a5078c0472350981f0ae02c58ee66eff9 (patch) | |
| tree | e8a7e06f115f09e6007dbaaf5df22198447ff6b0 /src/rendering.h | |
| parent | 8536bcc71498c9109ef4254760edc4cd70ddcccd (diff) | |
i hate vaos
Diffstat (limited to 'src/rendering.h')
| -rw-r--r-- | src/rendering.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/rendering.h b/src/rendering.h index 145fe60..a3982cf 100644 --- a/src/rendering.h +++ b/src/rendering.h @@ -93,21 +93,3 @@ bool wayc_ebo_init(ebo_t* ebo, usize size); bool wayc_ebo_upload(ebo_t ebo, usize offset, usize size, const u8* data); void wayc_ebo_use(ebo_t ebo); void wayc_ebo_deinit(ebo_t* ebo); - -typedef u32 vao_t; - -enum vao_attr_type_e { - VAO_ATTR_TYPE_FLOAT = GL_FLOAT, -}; - -struct vao_attr_s { - u32 size; - vao_attr_type_e type; - bool normalized; - u32 offset; -}; - -bool wayc_vao_init(vao_t* vao, vbo_t vbo, ebo_t ebo, const vao_attr_s* attrs, - u32 attr_count); -void wayc_vao_use(vao_t vao); -void wayc_vao_deinit(vao_t* vao); |
