Blender V5.3
spherical_harmonics::BandL3< T > Struct Template Reference

#include <gpu_shader_math_spherical_harmonics.bsl.hh>

Public Member Functions

void encode_signal_sample (float3 direction, T amplitude)
T evaluate (float3 direction) const

Static Public Member Functions

static BandL3 madd (BandL3 a, float b, BandL3 c)
static BandL3 mul (BandL3 a, float b)
static BandL3 add (BandL3 a, BandL3 b)

Public Attributes

T Mn3
T Mn2
T Mn1
T M0
T Mp1
T Mp2
T Mp3

Detailed Description

template<typename T>
struct spherical_harmonics::BandL3< T >

Definition at line 244 of file gpu_shader_math_spherical_harmonics.bsl.hh.

Member Function Documentation

◆ add()

template<typename T>
BandL3 spherical_harmonics::BandL3< T >::add ( BandL3< T > a,
BandL3< T > b )
inlinestatic

Definition at line 292 of file gpu_shader_math_spherical_harmonics.bsl.hh.

References b, M0, Mn1, Mn2, Mn3, Mp1, Mp2, and Mp3.

◆ encode_signal_sample()

◆ evaluate()

◆ madd()

template<typename T>
BandL3 spherical_harmonics::BandL3< T >::madd ( BandL3< T > a,
float b,
BandL3< T > c )
inlinestatic

Definition at line 266 of file gpu_shader_math_spherical_harmonics.bsl.hh.

References b, M0, Mn1, Mn2, Mn3, Mp1, Mp2, and Mp3.

◆ mul()

template<typename T>
BandL3 spherical_harmonics::BandL3< T >::mul ( BandL3< T > a,
float b )
inlinestatic

Definition at line 279 of file gpu_shader_math_spherical_harmonics.bsl.hh.

References b, M0, Mn1, Mn2, Mn3, Mp1, Mp2, and Mp3.

Member Data Documentation

◆ M0

template<typename T>
T spherical_harmonics::BandL3< T >::M0

◆ Mn1

template<typename T>
T spherical_harmonics::BandL3< T >::Mn1

◆ Mn2

template<typename T>
T spherical_harmonics::BandL3< T >::Mn2

◆ Mn3

template<typename T>
T spherical_harmonics::BandL3< T >::Mn3

◆ Mp1

template<typename T>
T spherical_harmonics::BandL3< T >::Mp1

◆ Mp2

template<typename T>
T spherical_harmonics::BandL3< T >::Mp2

◆ Mp3

template<typename T>
T spherical_harmonics::BandL3< T >::Mp3

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