|
Blender V5.3
|
#include <draw_shader_shared.hh>
Public Member Functions | |
| float3 | scale_from_unit (float3 value) const |
| float3 | scale_to_unit (float3 value) const |
Public Attributes | |
| packed_float3 | range_add |
| float | _pad0 |
| packed_float3 | range_mul |
| float | _pad1 |
Definition at line 553 of file draw_shader_shared.hh.
Scale from a value in [0, 1] to a value in the scaling range.
Definition at line 560 of file draw_shader_shared.hh.
References range_add, and range_mul.
Referenced by draw::gsplat::detail::unpack_gaussian_mean(), draw::gsplat::detail::unpack_gaussian_scale(), and draw::gsplat::detail::unpack_sh().
Scale from a value in the scaling range to a value in[0, 1].
Definition at line 567 of file draw_shader_shared.hh.
References blender::math::clamp(), range_add, and range_mul.
| float ScalingRange::_pad0 |
Definition at line 555 of file draw_shader_shared.hh.
| float ScalingRange::_pad1 |
Definition at line 557 of file draw_shader_shared.hh.
| packed_float3 ScalingRange::range_add |
Definition at line 554 of file draw_shader_shared.hh.
Referenced by scale_from_unit(), and scale_to_unit().
| packed_float3 ScalingRange::range_mul |
Definition at line 556 of file draw_shader_shared.hh.
Referenced by scale_from_unit(), and scale_to_unit().