Fixed bugs in lazy shader compilation.
This commit is contained in:
21
include/shader_program/geometry.hpp
Normal file
21
include/shader_program/geometry.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <cinttypes>
|
||||
#include <array>
|
||||
#include <string_view>
|
||||
|
||||
namespace shader_program::geometry
|
||||
{
|
||||
|
||||
enum class types : std::uint8_t
|
||||
{
|
||||
mesh = 0,
|
||||
point_cloud = 1
|
||||
};
|
||||
|
||||
inline constexpr auto names = std::array<std::string_view, 2>{
|
||||
"mesh", "point_cloud"
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user