|
Blender V4.3
|
#include <DNA_gpencil_legacy_types.h>
Public Attributes | |
| void * | sbuffer |
| GPUVertBufHandle * | sbuffer_position_buf |
| GPUVertBufHandle * | sbuffer_color_buf |
| GPUBatchHandle * | sbuffer_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 | fill_opacity_fac |
| float | arrow_start [8] |
| float | arrow_end [8] |
| int | arrow_start_style |
| int | arrow_end_style |
| int | tot_cp_points |
| bGPDcontrolpoint * | cp_points |
| Brush * | sbuffer_brush |
| struct GpencilBatchCache * | gpencil_cache |
| struct LineartCache * | lineart_cache |
| struct GPencilUpdateCache * | update_cache |
Definition at line 614 of file DNA_gpencil_legacy_types.h.
| char bGPdata_Runtime::_pad1[2] |
Definition at line 638 of file DNA_gpencil_legacy_types.h.
| float bGPdata_Runtime::arrow_end[8] |
Definition at line 652 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_draw_stroke_buffer(), annotation_stroke_addpoint(), and annotation_stroke_newfrombuffer().
| int bGPdata_Runtime::arrow_end_style |
Definition at line 655 of file DNA_gpencil_legacy_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 651 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_draw_stroke_buffer(), annotation_stroke_addpoint(), and annotation_stroke_newfrombuffer().
| int bGPdata_Runtime::arrow_start_style |
Definition at line 654 of file DNA_gpencil_legacy_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 660 of file DNA_gpencil_legacy_types.h.
Referenced by OVERLAY_edit_gpencil_legacy_cache_init().
| float bGPdata_Runtime::fill_opacity_fac |
Opacity for fills while drawing.
Definition at line 648 of file DNA_gpencil_legacy_types.h.
| struct GpencilBatchCache* bGPdata_Runtime::gpencil_cache |
Definition at line 663 of file DNA_gpencil_legacy_types.h.
Referenced by blender::draw::DRW_gpencil_batch_cache_free().
| struct LineartCache* bGPdata_Runtime::lineart_cache |
Definition at line 664 of file DNA_gpencil_legacy_types.h.
| short bGPdata_Runtime::matid |
Material index of the stroke.
Definition at line 630 of file DNA_gpencil_legacy_types.h.
| short bGPdata_Runtime::playing |
Animation playing flag.
Definition at line 627 of file DNA_gpencil_legacy_types.h.
| void* bGPdata_Runtime::sbuffer |
Stroke buffer.
Definition at line 618 of file DNA_gpencil_legacy_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(), and greasepencil_blend_write().
| GPUBatchHandle* bGPdata_Runtime::sbuffer_batch |
Definition at line 622 of file DNA_gpencil_legacy_types.h.
Referenced by blender::draw::DRW_cache_gpencil_sbuffer_clear().
| Brush* bGPdata_Runtime::sbuffer_brush |
Brush pointer
Definition at line 662 of file DNA_gpencil_legacy_types.h.
| GPUVertBufHandle* bGPdata_Runtime::sbuffer_color_buf |
Definition at line 621 of file DNA_gpencil_legacy_types.h.
Referenced by blender::draw::DRW_cache_gpencil_sbuffer_clear().
| struct bGPDstroke* bGPdata_Runtime::sbuffer_gps |
Temp stroke used for drawing.
Definition at line 624 of file DNA_gpencil_legacy_types.h.
Referenced by blender::draw::DRW_cache_gpencil_sbuffer_clear().
| GPUVertBufHandle* bGPdata_Runtime::sbuffer_position_buf |
Temp batches cleared after drawing.
Definition at line 620 of file DNA_gpencil_legacy_types.h.
Referenced by blender::draw::DRW_cache_gpencil_sbuffer_clear().
| short bGPdata_Runtime::sbuffer_sflag |
Flags for stroke that cache represents.
Definition at line 637 of file DNA_gpencil_legacy_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(), and annotation_stroke_newfrombuffer().
| int bGPdata_Runtime::sbuffer_size |
Number of total elements available in cache.
Definition at line 642 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_session_cleanup(), annotation_session_validatebuffer(), annotation_stroke_addpoint(), BKE_gpencil_blend_read_data(), and greasepencil_blend_write().
| int bGPdata_Runtime::sbuffer_used |
Number of elements currently used in cache.
Definition at line 640 of file DNA_gpencil_legacy_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(), and greasepencil_blend_write().
| int bGPdata_Runtime::tot_cp_points |
Number of control-points for stroke.
Definition at line 658 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_blend_read_data(), greasepencil_blend_write(), and OVERLAY_edit_gpencil_legacy_cache_init().
| struct GPencilUpdateCache* bGPdata_Runtime::update_cache |
Definition at line 666 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_blend_read_data(), BKE_gpencil_free_update_cache(), and greasepencil_blend_write().
| float bGPdata_Runtime::vert_color_fill[4] |
Vertex Color applied to Fill (while drawing).
Definition at line 645 of file DNA_gpencil_legacy_types.h.