tried making naming more uniform and implemented most of the opengl managers

This commit is contained in:
ZY4N
2025-03-25 02:22:44 +01:00
parent c609d49f0d
commit 71ea2d9237
155 changed files with 4097 additions and 2434 deletions

View File

@@ -19,7 +19,7 @@ private:
GLuint index_vbo_id,
GLuint vao_id,
ztu::u32 material_id,
components::mesh_vertex::flags components,
mesh_vertex_components::flags components,
GLsizei index_count
);
@@ -33,7 +33,7 @@ public:
GLsizei stride,
std::span<const ztu::u32> index_buffer,
ztu::u32 material_id,
components::mesh_vertex::flags components,
mesh_vertex_components::flags components,
mesh_data& data
);
@@ -47,7 +47,7 @@ public:
[[nodiscard]] mesh_handle handle() const;
[[nodiscard]] components::mesh_vertex::flags components() const;
[[nodiscard]] mesh_vertex_components::flags components() const;
[[nodiscard]] ztu::u32 material_id() const;
@@ -57,8 +57,8 @@ private:
GLuint m_vertex_vbo_id{ 0 };
GLuint m_index_vbo_id{ 0 };
ztu::u32 m_material_id{ 0 };
components::mesh_vertex::flags m_component_types{
components::mesh_vertex::flags::none
mesh_vertex_components::flags m_component_types{
mesh_vertex_components::flags::none
};
};
}