Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::components::SphericalHarmonicsDegree Struct Reference

Component: The highest spherical harmonics degree to evaluate when rendering, 0-3. More...

#include <rerun/components/spherical_harmonics_degree.hpp>

Public Member Functions

 SphericalHarmonicsDegree (rerun::datatypes::UInt32 degree_)
 
SphericalHarmonicsDegreeoperator= (rerun::datatypes::UInt32 degree_)
 
 SphericalHarmonicsDegree (uint32_t value_)
 
SphericalHarmonicsDegreeoperator= (uint32_t value_)
 
 operator rerun::datatypes::UInt32 () const
 Cast to the underlying UInt32 datatype.
 

Public Attributes

rerun::datatypes::UInt32 degree
 

Detailed Description

Component: The highest spherical harmonics degree to evaluate when rendering, 0-3.

0 renders the view-independent base color only, and is the fastest. Each higher degree brings in more view-dependent detail, at the cost of fetching and evaluating more coefficients (components::SphericalHarmonics3Rgb): 3 of them for degree 1, 8 for degree 2, and all 15 for degree 3.

Lowering this in the blueprint can make the rendering a lot faster.

Defaults to 3, i.e. every coefficient the data has.

This type is unstable and may change significantly in a way that the data won't be backwards compatible.


The documentation for this struct was generated from the following file: