Blender V5.3
draw::Curves Struct Reference

#include <draw_curves.bsl.hh>

Public Member Functions

curves::Segment segment_get (uint vertex_id) const
curves::Indirection indirection_get (curves::Segment segment) const
int point_id_get (curves::Segment segment, curves::Indirection indirection) const
float azimuthal_offset_get (curves::Segment segment) const
float4 point_position_and_radius_get (uint point_id) const
float3 point_position_get (uint point_id) const
curves::Point point_get (uint vertex_id) const
curves::Point object_to_world (curves::Point pt, float4x4 object_to_world) const
curves::ShapePoint shape_point_get (const curves::Point pt, const float3 V) const
float3 get_curve_root_pos (const int point_id, const int curve_segment) const

Public Attributes

samplerBuffer curves_pos_rad_buf
isamplerBuffer curves_indirection_buf
CurvesInfos & drw_curves

Detailed Description

Definition at line 78 of file draw_curves.bsl.hh.

Member Function Documentation

◆ azimuthal_offset_get()

float draw::Curves::azimuthal_offset_get ( curves::Segment segment) const
inline

Definition at line 160 of file draw_curves.bsl.hh.

References drw_curves, float, and CurvesInfos::half_cylinder_face_count.

Referenced by point_get().

◆ get_curve_root_pos()

float3 draw::Curves::get_curve_root_pos ( const int point_id,
const int curve_segment ) const
inline

Definition at line 249 of file draw_curves.bsl.hh.

References curves_pos_rad_buf, and texelFetch().

◆ indirection_get()

◆ object_to_world()

◆ point_get()

◆ point_id_get()

int draw::Curves::point_id_get ( curves::Segment segment,
curves::Indirection indirection ) const
inline

◆ point_position_and_radius_get()

float4 draw::Curves::point_position_and_radius_get ( uint point_id) const
inline

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

References curves_pos_rad_buf, and texelFetch().

Referenced by point_get().

◆ point_position_get()

float3 draw::Curves::point_position_get ( uint point_id) const
inline

Definition at line 182 of file draw_curves.bsl.hh.

References curves_pos_rad_buf, and texelFetch().

Referenced by point_get().

◆ segment_get()

curves::Segment draw::Curves::segment_get ( uint vertex_id) const
inline

◆ shape_point_get()

curves::ShapePoint draw::Curves::shape_point_get ( const curves::Point pt,
const float3 V ) const
inline

Member Data Documentation

◆ curves_indirection_buf

isamplerBuffer draw::Curves::curves_indirection_buf

Definition at line 80 of file draw_curves.bsl.hh.

Referenced by indirection_get().

◆ curves_pos_rad_buf

samplerBuffer draw::Curves::curves_pos_rad_buf

◆ drw_curves

CurvesInfos& draw::Curves::drw_curves

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