|
Blender V5.3
|
#include <draw_gsplat_lib.bsl.hh>
Public Member Functions | |
| float3 | get_radiance (uint gs_id) const |
| float | get_opacity (uint gs_id) const |
| PointShape | get_point (uint vert_id, ObjectMatrices object, ViewMatrices view) const |
| SplatShape | get_splat (uint vert_id, ObjectMatrices object, ViewMatrices view) const |
Public Attributes | |
| const GSplatInfos & | infos |
| const usamplerBuffer | shape_data_tx |
| const usamplerBuffer | ellipses_comp_tx |
| const samplerBuffer | radiance_comp_tx |
Shader resource table for gsplat data. Used by an entry point for geometry output from precomputed ellipse data.
Definition at line 487 of file draw_gsplat_lib.bsl.hh.
|
inline |
Recover view-independent splat opacity.
Definition at line 575 of file draw_gsplat_lib.bsl.hh.
References shape_data_tx, texelFetch(), and draw::gsplat::detail::unpack_gaussian_opacity().
|
inline |
Recover point draw data for a specific vertex.
Definition at line 584 of file draw_gsplat_lib.bsl.hh.
References draw::gsplat::PointShape::hP, draw::gsplat::PointShape::id, infos, draw::gsplat::PointShape::mean, ViewMatrices::point_world_to_homogenous(), shape_data_tx, GSplatInfos::splat_mean_range, texelFetch(), draw::gsplat::detail::unpack_gaussian_mean(), and draw::gsplat::PointShape::wP.
|
inline |
Recover view-dependent radiance and alpha.
Definition at line 564 of file draw_gsplat_lib.bsl.hh.
References radiance_comp_tx, and texelFetch().
|
inline |
Recover billboard splat draw data for a specific vertex.
Definition at line 599 of file draw_gsplat_lib.bsl.hh.
| const usamplerBuffer draw::gsplat::ShapeResource::ellipses_comp_tx |
Definition at line 491 of file draw_gsplat_lib.bsl.hh.
| const GSplatInfos& draw::gsplat::ShapeResource::infos |
Definition at line 488 of file draw_gsplat_lib.bsl.hh.
Referenced by get_point().
| const samplerBuffer draw::gsplat::ShapeResource::radiance_comp_tx |
Definition at line 492 of file draw_gsplat_lib.bsl.hh.
Referenced by get_radiance().
| const usamplerBuffer draw::gsplat::ShapeResource::shape_data_tx |
Definition at line 490 of file draw_gsplat_lib.bsl.hh.
Referenced by get_opacity(), and get_point().