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

@@ -74,7 +74,7 @@ std::optional<mesh_batch_renderer::id_type> mesh_batch_renderer::add(
if (
(
requirement.vertex_requirements != components::mesh_vertex::flags::none and
requirement.vertex_requirements != mesh_vertex_components::flags::none and
(vertex_comps & requirement.vertex_requirements) == requirement.vertex_requirements
)
and
@@ -271,7 +271,7 @@ void mesh_batch_renderer::render(
const auto [ vertex_components, material_components ] = batch_components;
const auto textured = (
(vertex_components & components::mesh_vertex::flags::tex_coord) != components::mesh_vertex::flags::none
(vertex_components & mesh_vertex_components::flags::tex_coord) != mesh_vertex_components::flags::none
and (material_components & material_component::flags::texture) != material_component::flags::none
);