Blender V4.3
bGPdata_Runtime Struct Reference

#include <DNA_gpencil_legacy_types.h>

Public Attributes

void * sbuffer
 
GPUVertBufHandlesbuffer_position_buf
 
GPUVertBufHandlesbuffer_color_buf
 
GPUBatchHandlesbuffer_batch
 
struct bGPDstrokesbuffer_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
 
bGPDcontrolpointcp_points
 
Brushsbuffer_brush
 
struct GpencilBatchCachegpencil_cache
 
struct LineartCachelineart_cache
 
struct GPencilUpdateCacheupdate_cache
 

Detailed Description

Definition at line 614 of file DNA_gpencil_legacy_types.h.

Member Data Documentation

◆ _pad1

char bGPdata_Runtime::_pad1[2]

Definition at line 638 of file DNA_gpencil_legacy_types.h.

◆ arrow_end

float bGPdata_Runtime::arrow_end[8]

◆ arrow_end_style

◆ arrow_start

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().

◆ arrow_start_style

◆ cp_points

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().

◆ fill_opacity_fac

float bGPdata_Runtime::fill_opacity_fac

Opacity for fills while drawing.

Definition at line 648 of file DNA_gpencil_legacy_types.h.

◆ gpencil_cache

struct GpencilBatchCache* bGPdata_Runtime::gpencil_cache

◆ lineart_cache

struct LineartCache* bGPdata_Runtime::lineart_cache

Definition at line 664 of file DNA_gpencil_legacy_types.h.

◆ matid

short bGPdata_Runtime::matid

Material index of the stroke.

Definition at line 630 of file DNA_gpencil_legacy_types.h.

◆ playing

short bGPdata_Runtime::playing

Animation playing flag.

Definition at line 627 of file DNA_gpencil_legacy_types.h.

◆ sbuffer

◆ sbuffer_batch

GPUBatchHandle* bGPdata_Runtime::sbuffer_batch

◆ sbuffer_brush

Brush* bGPdata_Runtime::sbuffer_brush

Brush pointer

Definition at line 662 of file DNA_gpencil_legacy_types.h.

◆ sbuffer_color_buf

GPUVertBufHandle* bGPdata_Runtime::sbuffer_color_buf

◆ sbuffer_gps

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().

◆ sbuffer_position_buf

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().

◆ sbuffer_sflag

◆ sbuffer_size

int bGPdata_Runtime::sbuffer_size

◆ sbuffer_used

◆ tot_cp_points

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().

◆ update_cache

struct GPencilUpdateCache* bGPdata_Runtime::update_cache

◆ vert_color_fill

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.


The documentation for this struct was generated from the following file: