Blender  V3.3
Public Attributes | List of all members
bGPdata_Runtime Struct Reference

#include <DNA_gpencil_types.h>

Public Attributes

voidsbuffer
 
struct GPUBatchsbuffer_stroke_batch
 
struct GPUBatchsbuffer_fill_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 arrow_start [8]
 
float arrow_end [8]
 
int arrow_start_style
 
int arrow_end_style
 
int tot_cp_points
 
char _pad2 [4]
 
bGPDcontrolpointcp_points
 
Brushsbuffer_brush
 
struct GpencilBatchCachegpencil_cache
 
struct LineartCachelineart_cache
 
struct GPencilUpdateCacheupdate_cache
 

Detailed Description

Definition at line 606 of file DNA_gpencil_types.h.

Member Data Documentation

◆ _pad1

char bGPdata_Runtime::_pad1[2]

Definition at line 629 of file DNA_gpencil_types.h.

◆ _pad2

char bGPdata_Runtime::_pad2[4]

Definition at line 647 of file DNA_gpencil_types.h.

◆ arrow_end

float bGPdata_Runtime::arrow_end[8]

◆ arrow_end_style

int bGPdata_Runtime::arrow_end_style

◆ arrow_start

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

◆ arrow_start_style

int bGPdata_Runtime::arrow_start_style

◆ cp_points

bGPDcontrolpoint* bGPdata_Runtime::cp_points

◆ gpencil_cache

struct GpencilBatchCache* bGPdata_Runtime::gpencil_cache

◆ lineart_cache

struct LineartCache* bGPdata_Runtime::lineart_cache

◆ matid

short bGPdata_Runtime::matid

◆ playing

short bGPdata_Runtime::playing

Animation playing flag.

Definition at line 618 of file DNA_gpencil_types.h.

Referenced by GPENCIL_cache_populate().

◆ sbuffer

void* bGPdata_Runtime::sbuffer

◆ sbuffer_brush

Brush* bGPdata_Runtime::sbuffer_brush

◆ sbuffer_fill_batch

struct GPUBatch* bGPdata_Runtime::sbuffer_fill_batch

◆ sbuffer_gps

struct bGPDstroke* bGPdata_Runtime::sbuffer_gps

◆ sbuffer_sflag

short bGPdata_Runtime::sbuffer_sflag

◆ sbuffer_size

int bGPdata_Runtime::sbuffer_size

◆ sbuffer_stroke_batch

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

◆ sbuffer_used

int bGPdata_Runtime::sbuffer_used

◆ tot_cp_points

int bGPdata_Runtime::tot_cp_points

◆ 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 636 of file DNA_gpencil_types.h.

Referenced by DRW_cache_gpencil_sbuffer_stroke_data_get(), and ED_gpencil_sbuffer_vertex_color_set().


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