Further shader compilation development.
This commit is contained in:
23
include/opengl/shading/model_geometry.hpp
Normal file
23
include/opengl/shading/model_geometry.hpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <cinttypes>
|
||||
#include <array>
|
||||
#include <string_view>
|
||||
|
||||
namespace zgl::shading::model_geometry
|
||||
{
|
||||
|
||||
enum class types : std::uint8_t
|
||||
{
|
||||
mesh = 0,
|
||||
point_cloud = 1
|
||||
};
|
||||
|
||||
inline constexpr std::size_t count = 2;
|
||||
|
||||
inline constexpr auto names = std::array<std::string_view, 2>{
|
||||
"mesh", "point_cloud"
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user