Blender V5.3
curves::CurvesData Struct Reference

#include <draw_curves_interpolation.bsl.hh>

Public Member Functions

bool curve_cyclic_get (int curve_index) const

Public Attributes

const int(& evaluated_points_by_curve_buf )[]
const int(& points_by_curve_buf )[]
const uint(& curves_resolution_buf )[]
const uint(& curves_type_buf )[]
const uint(& curves_cyclic_buf )[]
const float(& handles_positions_left_buf )[]
const float(& handles_positions_right_buf )[]
const int(& bezier_offsets_buf )[]
int curves_start
int curves_count
bool use_point_weight
bool use_cyclic
int evaluated_type

Detailed Description

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

Member Function Documentation

◆ curve_cyclic_get()

bool curves::CurvesData::curve_cyclic_get ( int curve_index) const
inline

Member Data Documentation

◆ bezier_offsets_buf

const int(& curves::CurvesData::bezier_offsets_buf)[]

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

◆ curves_count

int curves::CurvesData::curves_count

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

◆ curves_cyclic_buf

const uint(& curves::CurvesData::curves_cyclic_buf)[]

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

Referenced by curve_cyclic_get().

◆ curves_resolution_buf

const uint(& curves::CurvesData::curves_resolution_buf)[]

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

◆ curves_start

int curves::CurvesData::curves_start

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

◆ curves_type_buf

const uint(& curves::CurvesData::curves_type_buf)[]

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

◆ evaluated_points_by_curve_buf

const int(& curves::CurvesData::evaluated_points_by_curve_buf)[]

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

◆ evaluated_type

int curves::CurvesData::evaluated_type

IMPORTANT: For very dumb reasons, on GL the default specialization is compiled and used for creating the shader interface. If this happens to optimize out some push_constants that are valid in other specialization, we will never be able to set them. So choose the specialization that uses all push_constants.

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

◆ handles_positions_left_buf

const float(& curves::CurvesData::handles_positions_left_buf)[]

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

◆ handles_positions_right_buf

const float(& curves::CurvesData::handles_positions_right_buf)[]

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

◆ points_by_curve_buf

const int(& curves::CurvesData::points_by_curve_buf)[]

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

◆ use_cyclic

bool curves::CurvesData::use_cyclic

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

Referenced by curve_cyclic_get().

◆ use_point_weight

bool curves::CurvesData::use_point_weight

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


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