Blender
V3.3
|
#include <DNA_gpencil_types.h>
Public Attributes | |
void * | sbuffer |
struct GPUBatch * | sbuffer_stroke_batch |
struct GPUBatch * | sbuffer_fill_batch |
struct bGPDstroke * | sbuffer_gps |
short | playing |
short | matid |
short | sbuffer_sflag |
char | _pad1 [2] |
int | sbuffer_used |
int | sbuffer_size |
float | vert_color_fill [4] |
float | arrow_start [8] |
float | arrow_end [8] |
int | arrow_start_style |
int | arrow_end_style |
int | tot_cp_points |
char | _pad2 [4] |
bGPDcontrolpoint * | cp_points |
Brush * | sbuffer_brush |
struct GpencilBatchCache * | gpencil_cache |
struct LineartCache * | lineart_cache |
struct GPencilUpdateCache * | update_cache |
Definition at line 606 of file DNA_gpencil_types.h.
char bGPdata_Runtime::_pad1[2] |
Definition at line 629 of file DNA_gpencil_types.h.
char bGPdata_Runtime::_pad2[4] |
Definition at line 647 of file DNA_gpencil_types.h.
float bGPdata_Runtime::arrow_end[8] |
Definition at line 640 of file DNA_gpencil_types.h.
Referenced by annotation_draw_stroke_buffer(), annotation_stroke_addpoint(), and annotation_stroke_newfrombuffer().
int bGPdata_Runtime::arrow_end_style |
Definition at line 643 of file DNA_gpencil_types.h.
Referenced by annotation_draw_invoke(), annotation_draw_stroke_buffer(), annotation_stroke_addpoint(), and annotation_stroke_newfrombuffer().
float bGPdata_Runtime::arrow_start[8] |
Arrow points for stroke corners.
Definition at line 639 of file DNA_gpencil_types.h.
Referenced by annotation_draw_stroke_buffer(), annotation_stroke_addpoint(), and annotation_stroke_newfrombuffer().
int bGPdata_Runtime::arrow_start_style |
Definition at line 642 of file DNA_gpencil_types.h.
Referenced by annotation_draw_invoke(), annotation_draw_stroke_buffer(), annotation_stroke_addpoint(), and annotation_stroke_newfrombuffer().
bGPDcontrolpoint* bGPdata_Runtime::cp_points |
Array of control-points for stroke.
Definition at line 649 of file DNA_gpencil_types.h.
Referenced by ED_gpencil_sbuffer_update_eval(), gpencil_primitive_exit(), gpencil_primitive_init(), gpencil_primitive_set_cp(), gpencil_primitive_update_strokes(), and OVERLAY_edit_gpencil_cache_init().
struct GpencilBatchCache* bGPdata_Runtime::gpencil_cache |
Definition at line 652 of file DNA_gpencil_types.h.
Referenced by DRW_gpencil_batch_cache_free(), gpencil_batch_cache_get(), and gpencil_batch_cache_init().
struct LineartCache* bGPdata_Runtime::lineart_cache |
Definition at line 653 of file DNA_gpencil_types.h.
Referenced by bake_strokes(), bakeModifier(), BKE_gpencil_modifiers_calc(), and generateStrokes().
short bGPdata_Runtime::matid |
Material index of the stroke.
Definition at line 621 of file DNA_gpencil_types.h.
Referenced by DRW_cache_gpencil_sbuffer_stroke_data_get(), ED_gpencil_sbuffer_vertex_color_set(), and gpencil_init_colors().
short bGPdata_Runtime::playing |
Animation playing flag.
Definition at line 618 of file DNA_gpencil_types.h.
Referenced by GPENCIL_cache_populate().
void* bGPdata_Runtime::sbuffer |
Stroke buffer.
Definition at line 610 of file DNA_gpencil_types.h.
Referenced by annotation_draw_stabilizer(), annotation_draw_stroke_buffer(), annotation_session_cleanup(), annotation_session_validatebuffer(), annotation_smooth_buffer(), annotation_stroke_addpoint(), annotation_stroke_newfrombuffer(), BKE_gpencil_blend_read_data(), ED_gpencil_sbuffer_update_eval(), ED_gpencil_sbuffer_vertex_color_set(), gpencil_add_arc_points(), gpencil_add_guide_points(), gpencil_draw_apply(), gpencil_primitive_exit(), gpencil_primitive_update_strokes(), gpencil_sbuffer_stroke_ensure(), gpencil_session_cleanup(), gpencil_session_validatebuffer(), gpencil_smooth_buffer(), gpencil_smooth_segment(), gpencil_stroke_addpoint(), gpencil_stroke_newfrombuffer(), and greasepencil_blend_write().
Brush* bGPdata_Runtime::sbuffer_brush |
Brush pointer
Definition at line 651 of file DNA_gpencil_types.h.
Referenced by DRW_cache_gpencil_sbuffer_stroke_data_get(), gpencil_init_colors(), and gpencil_paint_initstroke().
struct GPUBatch* bGPdata_Runtime::sbuffer_fill_batch |
Definition at line 613 of file DNA_gpencil_types.h.
Referenced by DRW_cache_gpencil_sbuffer_clear(), DRW_cache_gpencil_sbuffer_fill_get(), and gpencil_sbuffer_stroke_ensure().
struct bGPDstroke* bGPdata_Runtime::sbuffer_gps |
Temp stroke used for drawing.
Definition at line 615 of file DNA_gpencil_types.h.
Referenced by DRW_cache_gpencil_sbuffer_clear(), DRW_cache_gpencil_sbuffer_stroke_data_get(), and gpencil_sbuffer_stroke_ensure().
short bGPdata_Runtime::sbuffer_sflag |
Flags for stroke that cache represents.
Definition at line 628 of file DNA_gpencil_types.h.
Referenced by annotation_draw_invoke(), annotation_draw_stroke_buffer(), annotation_paint_initstroke(), annotation_paint_strokeend(), annotation_project_check(), annotation_session_cleanup(), annotation_session_validatebuffer(), annotation_stroke_addpoint(), annotation_stroke_convertcoords(), annotation_stroke_newfrombuffer(), DRW_cache_gpencil_sbuffer_stroke_data_get(), ED_gpencil_sbuffer_update_eval(), gpencil_origin_get(), gpencil_paint_initstroke(), gpencil_paint_strokeend(), gpencil_primitive_exit(), gpencil_project_check(), gpencil_reproject_toplane(), gpencil_session_cleanup(), gpencil_session_validatebuffer(), gpencil_stroke_convertcoords(), and gpencil_stroke_newfrombuffer().
int bGPdata_Runtime::sbuffer_size |
Number of total elements available in cache.
Definition at line 633 of file DNA_gpencil_types.h.
Referenced by annotation_session_cleanup(), annotation_session_validatebuffer(), annotation_stroke_addpoint(), BKE_gpencil_blend_read_data(), ED_gpencil_sbuffer_update_eval(), gpencil_add_arc_points(), gpencil_add_guide_points(), gpencil_primitive_exit(), gpencil_primitive_update_strokes(), gpencil_session_cleanup(), gpencil_session_validatebuffer(), gpencil_stroke_addpoint(), and greasepencil_blend_write().
struct GPUBatch* bGPdata_Runtime::sbuffer_stroke_batch |
Temp batches cleared after drawing.
Definition at line 612 of file DNA_gpencil_types.h.
Referenced by DRW_cache_gpencil_sbuffer_clear(), DRW_cache_gpencil_sbuffer_stroke_get(), and gpencil_sbuffer_stroke_ensure().
int bGPdata_Runtime::sbuffer_used |
Number of elements currently used in cache.
Definition at line 631 of file DNA_gpencil_types.h.
Referenced by annotation_draw_stabilizer(), annotation_draw_stroke_buffer(), annotation_session_cleanup(), annotation_session_validatebuffer(), annotation_smooth_buffer(), annotation_stroke_addpoint(), annotation_stroke_filtermval(), annotation_stroke_newfrombuffer(), BKE_gpencil_blend_read_data(), BKE_gpencil_visible_stroke_advanced_iter(), DRW_cache_gpencil_sbuffer_stroke_data_get(), ED_gpencil_sbuffer_update_eval(), ED_gpencil_sbuffer_vertex_color_set(), gpencil_add_arc_points(), gpencil_add_guide_points(), gpencil_apply_randomness(), gpencil_brush_angle(), gpencil_brush_cursor_draw(), gpencil_brush_jitter(), GPENCIL_cache_init(), gpencil_draw_apply(), gpencil_draw_modal(), gpencil_primitive_exit(), gpencil_primitive_update_strokes(), gpencil_sbuffer_stroke_ensure(), gpencil_sbuffer_vertex_color_random(), gpencil_session_cleanup(), gpencil_session_validatebuffer(), gpencil_smooth_buffer(), gpencil_stroke_addpoint(), gpencil_stroke_filtermval(), gpencil_stroke_newfrombuffer(), and greasepencil_blend_write().
int bGPdata_Runtime::tot_cp_points |
Number of control-points for stroke.
Definition at line 646 of file DNA_gpencil_types.h.
Referenced by BKE_gpencil_blend_read_data(), ED_gpencil_sbuffer_update_eval(), gpencil_primitive_exit(), gpencil_primitive_init(), gpencil_primitive_set_cp(), gpencil_primitive_update_strokes(), greasepencil_blend_write(), and OVERLAY_edit_gpencil_cache_init().
struct GPencilUpdateCache* bGPdata_Runtime::update_cache |
Definition at line 655 of file DNA_gpencil_types.h.
Referenced by BKE_gpencil_blend_read_data(), BKE_gpencil_can_avoid_full_copy_on_write(), BKE_gpencil_free_update_cache(), BKE_gpencil_update_on_write(), greasepencil_blend_write(), blender::deg::GPencilBackup::restore_to_gpencil(), and update_cache_node_create().
float bGPdata_Runtime::vert_color_fill[4] |
Vertex Color applied to Fill (while drawing).
Definition at line 636 of file DNA_gpencil_types.h.
Referenced by DRW_cache_gpencil_sbuffer_stroke_data_get(), and ED_gpencil_sbuffer_vertex_color_set().