15 const std::string geometries[] = {
"_mesh",
"_curves",
"_ptcloud",
"_gsplat"};
16 const std::string pipelines[] = {
"_opaque",
"_transparent"};
17 const std::string lightings[] = {
"_flat",
"_studio",
"_matcap"};
18 const std::string shaders[] = {
"_material",
"_texture"};
19 const std::string clip[] = {
"_no_clip",
"_clip"};
20 static_assert(std::size(geometries) == geometry_type_len);
21 static_assert(std::size(pipelines) == pipeline_type_len);
22 static_assert(std::size(lightings) == lighting_type_len);
23 static_assert(std::size(shaders) == shader_type_len);
30 prepass_[g][p][
l][s][c] = {
"workbench_prepass" + geometries[g] + pipelines[p] +
31 lightings[
l] + shaders[s] + clip[c]};
38 const std::string cavity[] = {
"_no_cavity",
"_cavity"};
39 const std::string curvature[] = {
"_no_curvature",
"_curvature"};
40 const std::string shadow[] = {
"_no_shadow",
"_shadow"};
46 resolve_[
l][ca][cu][s] = {
"workbench_resolve_opaque" + lightings[
l] + cavity[ca] +
47 curvature[cu] + shadow[s]};
53 const std::string pass[] = {
"_fail",
"_pass"};
54 const std::string manifold[] = {
"_no_manifold",
"_manifold"};
55 const std::string caps[] = {
"_no_caps",
"_caps"};
60 shadow_[p][m][c] = {
"workbench_shadow" + pass[p] + manifold[m] + caps[c] +
66 const std::string smoke[] = {
"_object",
"_smoke"};
67 const std::string interpolation[] = {
"_linear",
"_cubic",
"_closest"};
68 const std::string coba[] = {
"_no_coba",
"_coba"};
69 const std::string slice[] = {
"_no_slice",
"_slice"};
75 volume_[sm][i][c][sl] = {
"workbench_volume" + smoke[sm] + interpolation[i] + coba[c] +