Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_curves_private.h
| Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | typedef struct CurvesEvalFinalCache { | ||||
| GPUVertBuf *attributes_buf[GPU_MAX_ATTR]; | GPUVertBuf *attributes_buf[GPU_MAX_ATTR]; | ||||
| GPUTexture *attributes_tex[GPU_MAX_ATTR]; | GPUTexture *attributes_tex[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. */ | /* Input control point positions combined with parameter data. */ | ||||
| GPUVertBuf *proc_point_buf; | GPUVertBuf *proc_point_buf; | ||||
| GPUVertBuf *data; | |||||
HooglyBoogly: Could this have a more helpful name? There's a lot of "data" around here :P | |||||
| GPUTexture *point_tex; | GPUTexture *point_tex; | ||||
| /** 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; | ||||
| GPUTexture *strand_tex; | GPUTexture *strand_tex; | ||||
| /* Curve length data. */ | /* Curve length data. */ | ||||
| GPUVertBuf *proc_length_buf; | GPUVertBuf *proc_length_buf; | ||||
| Show All 31 Lines | |||||
Could this have a more helpful name? There's a lot of "data" around here :P