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

Public Attributes

T M0

Detailed Description

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

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

Member Function Documentation

◆ add()

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

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

References b, and M0.

Referenced by spherical_harmonics::add().

◆ encode_signal_sample()

template<typename T>
void spherical_harmonics::BandL0< T >::encode_signal_sample ( float3 direction,
T amplitude )
inline

◆ evaluate()

◆ madd()

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

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

References b, and M0.

Referenced by spherical_harmonics::madd().

◆ mul()

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

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

References b, M0, and T.

Referenced by spherical_harmonics::mul().

◆ mul_scalar()

template<typename T>
BandL0< T > spherical_harmonics::BandL0< T >::mul_scalar ( BandL0< T > a,
float b )
inlinestatic

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

References b, and M0.

Referenced by spherical_harmonics::mul().

Member Data Documentation

◆ M0

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

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