Further shader compilation development.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "assets/components/point_cloud_vertex_components.hpp"
|
||||
#include "shader_program/features/point_cloud_features.hpp"
|
||||
#include "shading/features/point_cloud_features.hpp"
|
||||
|
||||
#include <array>
|
||||
#include "util/enum_bitfield_operators.hpp"
|
||||
@@ -11,7 +11,7 @@ namespace rendering::requirements::point_cloud
|
||||
|
||||
struct type
|
||||
{
|
||||
shader_program::features::point_cloud::indices::type shader_program_requirement_index{};
|
||||
shading::features::point_cloud::indices::type shader_program_requirement_index{};
|
||||
components::point_cloud_vertex::flags vertex_requirements{
|
||||
components::point_cloud_vertex::flags::none
|
||||
};
|
||||
@@ -31,30 +31,30 @@ enum class flags : std::uint8_t
|
||||
|
||||
|
||||
constexpr inline auto position = type{
|
||||
.shader_program_requirement_index = shader_program::features::point_cloud::indices::position,
|
||||
.shader_program_requirement_index = shading::features::point_cloud::indices::position,
|
||||
.vertex_requirements = components::point_cloud_vertex::flags::position
|
||||
};
|
||||
|
||||
constexpr inline auto rainbow = type{
|
||||
.shader_program_requirement_index = shader_program::features::point_cloud::indices::rainbow
|
||||
.shader_program_requirement_index = shading::features::point_cloud::indices::rainbow
|
||||
};
|
||||
|
||||
constexpr inline auto vertex_color = type{
|
||||
.shader_program_requirement_index = shader_program::features::point_cloud::indices::vertex_color,
|
||||
.shader_program_requirement_index = shading::features::point_cloud::indices::vertex_color,
|
||||
.vertex_requirements = components::point_cloud_vertex::flags::color
|
||||
};
|
||||
|
||||
constexpr inline auto uniform_color = type{
|
||||
.shader_program_requirement_index = shader_program::features::point_cloud::indices::uniform_color
|
||||
.shader_program_requirement_index = shading::features::point_cloud::indices::uniform_color
|
||||
};
|
||||
|
||||
constexpr inline auto normal = type{
|
||||
.shader_program_requirement_index = shader_program::features::point_cloud::indices::normal,
|
||||
.shader_program_requirement_index = shading::features::point_cloud::indices::normal,
|
||||
.vertex_requirements = components::point_cloud_vertex::flags::normal
|
||||
};
|
||||
|
||||
constexpr inline auto reflectance = type{
|
||||
.shader_program_requirement_index = shader_program::features::point_cloud::indices::reflectance,
|
||||
.shader_program_requirement_index = shading::features::point_cloud::indices::reflectance,
|
||||
.vertex_requirements = components::point_cloud_vertex::flags::reflectance
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user