Blender V5.3
types_spherical_harmonics.h File Reference
#include "util/defines.h"
#include "util/math_float3.h"
#include "util/types_base.h"
#include "util/types_float3.h"
#include <cstring>

Go to the source code of this file.

Classes

struct  PackedSphericalHarmonicsRest

Functions

ccl_device_forceinline uint8_t quantize_spherical_harmonics (const float value)
ccl_device_forceinline float unquantize_spherical_harmonics (const uint8_t value)
ccl_device_forceinline void spherical_harmonics_rest_fill_zero (ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_forceinline void spherical_harmonics_rest_set_coefficient (ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest, const int index, const float3 value)
ccl_device_forceinline float3 spherical_harmonics_rest_get_coefficient (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest, const int index)
template<int L, int M>
ccl_device_inline float3 spherical_harmonics_get (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 1, -1 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 1, 0 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 1, 1 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 2, -2 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 2, -1 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 2, 0 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 2, 1 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 2, 2 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 3, -3 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 3, -2 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 3, -1 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 3, 0 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 3, 1 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 3, 2 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)
ccl_device_template_spec float3 spherical_harmonics_get< 3, 3 > (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest)

Function Documentation

◆ quantize_spherical_harmonics()

◆ spherical_harmonics_get()

◆ spherical_harmonics_get< 1, -1 >()

◆ spherical_harmonics_get< 1, 0 >()

◆ spherical_harmonics_get< 1, 1 >()

◆ spherical_harmonics_get< 2, -1 >()

◆ spherical_harmonics_get< 2, -2 >()

◆ spherical_harmonics_get< 2, 0 >()

◆ spherical_harmonics_get< 2, 1 >()

◆ spherical_harmonics_get< 2, 2 >()

◆ spherical_harmonics_get< 3, -1 >()

◆ spherical_harmonics_get< 3, -2 >()

◆ spherical_harmonics_get< 3, -3 >()

◆ spherical_harmonics_get< 3, 0 >()

◆ spherical_harmonics_get< 3, 1 >()

◆ spherical_harmonics_get< 3, 2 >()

◆ spherical_harmonics_get< 3, 3 >()

◆ spherical_harmonics_rest_fill_zero()

◆ spherical_harmonics_rest_get_coefficient()

◆ spherical_harmonics_rest_set_coefficient()

◆ unquantize_spherical_harmonics()