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

@@ -0,0 +1,28 @@
#pragma once
#include <span>
#include <tuple>
#include "assets/components/point_cloud_vertex_components.hpp"
namespace assets
{
namespace detail
{
template<typename... Ts>
struct generic_point_cloud_view
{
point_cloud_vertex_components::flags vertex_components;
std::tuple<std::span<Ts>...> vertex_component_arrays;
};
}
using point_cloud_view = detail::generic_point_cloud_view<
point_cloud_vertex_components::position,
point_cloud_vertex_components::normal,
point_cloud_vertex_components::color,
point_cloud_vertex_components::reflectance
>;
}