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

@@ -4,7 +4,8 @@
#include <cinttypes>
#include "util/enum_bitfield_operators.hpp"
namespace components::texture {
namespace assets::texture_components
{
using red = std::uint8_t;
using green = std::uint8_t;
@@ -24,6 +25,6 @@ enum class flags : std::uint8_t
using all = std::tuple<red, green, blue, luminance>;
constexpr inline auto count = std::tuple_size_v<all>;
} // namespace components::texture
} // namespace texture_components
DEFINE_ENUM_BITFIELD_OPERATORS(components::texture::flags)
DEFINE_ENUM_BITFIELD_OPERATORS(assets::texture_components::flags)