tried making naming more uniform and implemented most of the opengl managers
This commit is contained in:
@@ -12,8 +12,8 @@ namespace rendering::requirements::point_cloud
|
||||
struct type
|
||||
{
|
||||
shading::features::point_cloud::indices::type shader_program_requirement_index{};
|
||||
components::point_cloud_vertex::flags vertex_requirements{
|
||||
components::point_cloud_vertex::flags::none
|
||||
point_cloud_vertex_components::flags vertex_requirements{
|
||||
point_cloud_vertex_components::flags::none
|
||||
};
|
||||
};
|
||||
|
||||
@@ -32,7 +32,7 @@ enum class flags : std::uint8_t
|
||||
|
||||
constexpr inline auto position = type{
|
||||
.shader_program_requirement_index = shading::features::point_cloud::indices::position,
|
||||
.vertex_requirements = components::point_cloud_vertex::flags::position
|
||||
.vertex_requirements = point_cloud_vertex_components::flags::position
|
||||
};
|
||||
|
||||
constexpr inline auto rainbow = type{
|
||||
@@ -41,7 +41,7 @@ constexpr inline auto rainbow = type{
|
||||
|
||||
constexpr inline auto vertex_color = type{
|
||||
.shader_program_requirement_index = shading::features::point_cloud::indices::vertex_color,
|
||||
.vertex_requirements = components::point_cloud_vertex::flags::color
|
||||
.vertex_requirements = point_cloud_vertex_components::flags::color
|
||||
};
|
||||
|
||||
constexpr inline auto uniform_color = type{
|
||||
@@ -50,12 +50,12 @@ constexpr inline auto uniform_color = type{
|
||||
|
||||
constexpr inline auto normal = type{
|
||||
.shader_program_requirement_index = shading::features::point_cloud::indices::normal,
|
||||
.vertex_requirements = components::point_cloud_vertex::flags::normal
|
||||
.vertex_requirements = point_cloud_vertex_components::flags::normal
|
||||
};
|
||||
|
||||
constexpr inline auto reflectance = type{
|
||||
.shader_program_requirement_index = shading::features::point_cloud::indices::reflectance,
|
||||
.vertex_requirements = components::point_cloud_vertex::flags::reflectance
|
||||
.vertex_requirements = point_cloud_vertex_components::flags::reflectance
|
||||
};
|
||||
|
||||
constexpr inline auto all = std::array{
|
||||
|
||||
Reference in New Issue
Block a user