Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_curves_private.h
| Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | typedef struct CurvesEvalFinalCache { | ||||
| /* Output of the subdivision stage: vertex buffers sized to subdiv level. This is only attributes | /* Output of the subdivision stage: vertex buffers sized to subdiv level. This is only attributes | ||||
| * on point domain. */ | * on point domain. */ | ||||
| GPUVertBuf *attributes_buf[GPU_MAX_ATTR]; | GPUVertBuf *attributes_buf[GPU_MAX_ATTR]; | ||||
| } CurvesEvalFinalCache; | } CurvesEvalFinalCache; | ||||
| /* Curves procedural display: Evaluation is done on the GPU. */ | /* Curves procedural display: Evaluation is done on the GPU. */ | ||||
| typedef struct CurvesEvalCache { | typedef struct CurvesEvalCache { | ||||
| /* Input control point positions combined with parameter data. */ | /* Control point positions on evaluated data-block combined with parameter data. */ | ||||
HooglyBoogly: "Evaluated points" has a different meaning for curves, best to be clear here | |||||
| GPUVertBuf *proc_point_buf; | GPUVertBuf *proc_point_buf; | ||||
| /* Editmode data (such as selection flags) used by overlay_edit_curve_point.glsl */ | |||||
| GPUVertBuf *data_edit_points; | |||||
| /** Info of control points strands (segment count and base index) */ | /** Info of control points strands (segment count and base index) */ | ||||
| GPUVertBuf *proc_strand_buf; | GPUVertBuf *proc_strand_buf; | ||||
| /* Curve length data. */ | /* Curve length data. */ | ||||
| GPUVertBuf *proc_length_buf; | GPUVertBuf *proc_length_buf; | ||||
| GPUVertBuf *proc_strand_seg_buf; | GPUVertBuf *proc_strand_seg_buf; | ||||
| Show All 25 Lines | |||||
"Evaluated points" has a different meaning for curves, best to be clear here