68 halp_meta(name,
"Scene In");
69 ossia::scene_spec scene;
77 struct : halp::combobox_t<
"Mode", Mode>
81 std::string_view values[2]{
"All",
"By Index"};
86 struct : halp::spinbox_i32<
"Index", halp::irange{0, 4096, 0}>
91 halp::gpu_texture_input<
"Base Color Tex"> base_color_tex;
92 halp::gpu_texture_input<
"Metal Rough Tex"> metal_rough_tex;
93 halp::gpu_texture_input<
"Normal Tex"> normal_tex;
94 halp::gpu_texture_input<
"Emissive Tex"> emissive_tex;
98 struct : halp::toggle<
"Use base color">
100 struct : halp::color_chooser<
"Color">
103 struct : halp::toggle<
"Use metallic">
105 struct : halp::hslider_f32<
"Metallic", halp::range{0., 1., 0.}>
108 struct : halp::toggle<
"Use roughness">
110 struct : halp::hslider_f32<
"Roughness", halp::range{0., 1., 0.5}>
113 struct : halp::toggle<
"Use emissive">
117 struct : halp::color_chooser<
"Emissive", halp::color_init{.init = {0., 0., 0., 1.}}>
119 struct : halp::hslider_f32<
"Emissive strength", halp::range{0., 100., 1.}>