Blender V5.3
spherical_harmonics::BandL2< 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 BandL2 madd (BandL2 a, float b, BandL2 c)
static BandL2 mul (BandL2 a, float b)
static BandL2 add (BandL2 a, BandL2 b)

Public Attributes

T Mn2
T Mn1
T M0
T Mp1
T Mp2

Detailed Description

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

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

Member Function Documentation

◆ add()

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

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

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

◆ encode_signal_sample()

◆ evaluate()

◆ madd()

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

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

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

◆ mul()

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

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

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

Member Data Documentation

◆ M0

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

◆ Mn1

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

◆ Mn2

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

◆ Mp1

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

◆ Mp2

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

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