|
Blender
V2.93
|
#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 |
Definition at line 586 of file DNA_gpencil_types.h.
| char bGPdata_Runtime::_pad1[2] |
Definition at line 607 of file DNA_gpencil_types.h.
| char bGPdata_Runtime::_pad2[4] |
Definition at line 625 of file DNA_gpencil_types.h.
| float bGPdata_Runtime::arrow_end[8] |
Definition at line 618 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 621 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 617 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 620 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 627 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 630 of file DNA_gpencil_types.h.
Referenced by DRW_gpencil_batch_cache_free(), gpencil_batch_cache_get(), and gpencil_batch_cache_init().
| short bGPdata_Runtime::matid |
Material index of the stroke.
Definition at line 599 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 596 of file DNA_gpencil_types.h.
Referenced by GPENCIL_cache_populate().
| void* bGPdata_Runtime::sbuffer |
Stroke buffer.
Definition at line 588 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 629 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 591 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 593 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 606 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 611 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 590 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 609 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_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 624 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().
| float bGPdata_Runtime::vert_color_fill[4] |
Vertex Color applied to Fill (while drawing).
Definition at line 614 of file DNA_gpencil_types.h.
Referenced by DRW_cache_gpencil_sbuffer_stroke_data_get(), and ED_gpencil_sbuffer_vertex_color_set().