Blender V5.3
curves::AttribBuf< StoredT, T > Struct Template Reference

#include <draw_curves_interpolation.bsl.hh>

Public Member Functions

T input_load (int point_index) const
T output_load (int evaluated_point_index) const
void output_write (int evaluated_point_index, T data)
void output_weighted_add (int evaluated_point_index, float w, const T src)
void output_mul (int evaluated_point_index, float w)
void output_set_zero (int evaluated_point_index)

Public Attributes

StoredT(& attribute_buf )[]
StoredT(& evaluated_buf )[]

Detailed Description

template<typename StoredT, typename T>
struct curves::AttribBuf< StoredT, T >

Definition at line 31 of file draw_curves_interpolation.bsl.hh.

Member Function Documentation

◆ input_load()

template<typename StoredT, typename T>
T curves::AttribBuf< StoredT, T >::input_load ( int point_index) const
inline

Definition at line 37 of file draw_curves_interpolation.bsl.hh.

References attribute_buf, load_data(), and T.

◆ output_load()

template<typename StoredT, typename T>
T curves::AttribBuf< StoredT, T >::output_load ( int evaluated_point_index) const
inline

Definition at line 43 of file draw_curves_interpolation.bsl.hh.

References evaluated_buf, load_data(), and T.

Referenced by output_mul(), and output_weighted_add().

◆ output_mul()

template<typename StoredT, typename T>
void curves::AttribBuf< StoredT, T >::output_mul ( int evaluated_point_index,
float w )
inline

Definition at line 61 of file draw_curves_interpolation.bsl.hh.

References output_load(), output_write(), T, and w().

◆ output_set_zero()

template<typename StoredT, typename T>
void curves::AttribBuf< StoredT, T >::output_set_zero ( int evaluated_point_index)
inline

Definition at line 68 of file draw_curves_interpolation.bsl.hh.

References output_write(), and T.

◆ output_weighted_add()

template<typename StoredT, typename T>
void curves::AttribBuf< StoredT, T >::output_weighted_add ( int evaluated_point_index,
float w,
const T src )
inline

Definition at line 54 of file draw_curves_interpolation.bsl.hh.

References output_load(), output_write(), T, and w().

◆ output_write()

template<typename StoredT, typename T>
void curves::AttribBuf< StoredT, T >::output_write ( int evaluated_point_index,
T data )
inline

Definition at line 49 of file draw_curves_interpolation.bsl.hh.

References as_data(), evaluated_buf, and T.

Referenced by output_mul(), output_set_zero(), and output_weighted_add().

Member Data Documentation

◆ attribute_buf

template<typename StoredT, typename T>
StoredT(& curves::AttribBuf< StoredT, T >::attribute_buf)[]

Definition at line 33 of file draw_curves_interpolation.bsl.hh.

Referenced by input_load().

◆ evaluated_buf

template<typename StoredT, typename T>
StoredT(& curves::AttribBuf< StoredT, T >::evaluated_buf)[]

Definition at line 35 of file draw_curves_interpolation.bsl.hh.

Referenced by output_load(), and output_write().


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