tried making naming more uniform and implemented most of the opengl managers
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user