Loading...
Searching...
No Matches
Threedim::PBRMesh::ins Struct Reference
Public Attributes | ||
| struct { | ||
| halp::dynamic_gpu_geometry mesh | ||
| float transform [16] {} | ||
| bool dirty_mesh = false | ||
| bool dirty_transform = false | ||
| } | geometry_in | |
| halp::gpu_texture_input<"Base Color Tex"> | base_color_tex | |
| halp::gpu_texture_input<"Metal Rough Tex"> | metal_rough_tex | |
| halp::gpu_texture_input<"Normal Tex"> | normal_tex | |
| halp::gpu_texture_input<"Emissive Tex"> | emissive_tex | |
| halp::hslider_f32<"Color R", halp::range{0., 1., 1.}> | base_r | |
| halp::hslider_f32<"Color G", halp::range{0., 1., 1.}> | base_g | |
| halp::hslider_f32<"Color B", halp::range{0., 1., 1.}> | base_b | |
| halp::hslider_f32<"Color A", halp::range{0., 1., 1.}> | base_a | |
| halp::hslider_f32<"Metallic", halp::range{0., 1., 0.}> | metallic | |
| halp::hslider_f32<"Roughness", halp::range{0., 1., 0.5}> | roughness | |
| halp::hslider_f32<"Emissive R", halp::range{0., 10., 0.}> | em_r | |
| halp::hslider_f32<"Emissive G", halp::range{0., 10., 0.}> | em_g | |
| halp::hslider_f32<"Emissive B", halp::range{0., 10., 0.}> | em_b | |
| halp::hslider_f32<"Emissive strength", halp::range{0., 10., 1.}> | em_strength | |
| PositionControl | position | |
| RotationControl | rotation | |
| ScaleControl | scale | |
The documentation for this struct was generated from the following file: