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

#include <gpencil_engine.h>

Public Attributes

struct BLI_memblockgp_object_pool
 
struct BLI_memblockgp_layer_pool
 
struct BLI_memblockgp_vfx_pool
 
struct BLI_memblockgp_material_pool
 
struct BLI_memblockgp_light_pool
 
struct BLI_memblockgp_maskbit_pool
 
GPENCIL_MaterialPoollast_material_pool
 
GPENCIL_LightPoollast_light_pool
 
GPENCIL_LightPoolglobal_light_pool
 
GPENCIL_LightPoolshadeless_light_pool
 
struct {
   GPENCIL_tObject *   first
 
   GPENCIL_tObject *   last
 
tobjects
 
struct {
   GPENCIL_tObject *   first
 
   GPENCIL_tObject *   last
 
tobjects_infront
 
GPUTexturedepth_tx
 
GPUTexturecolor_tx
 
GPUTexturecolor_layer_tx
 
GPUTexturecolor_object_tx
 
GPUTexturereveal_tx
 
GPUTexturereveal_layer_tx
 
GPUTexturereveal_object_tx
 
GPUTexturemask_tx
 
GPUTexturesmaa_edge_tx
 
GPUTexturesmaa_weight_tx
 
GPUTexturescene_depth_tx
 
GPUFrameBufferscene_fb
 
GPUTexturedummy_tx
 
float v3d_single_color [3]
 
int v3d_color_type
 
int cfra
 
bool is_render
 
bool is_viewport
 
bool draw_depth_only
 
bool draw_wireframe
 
int is_stroke_order_3d
 
float object_bound_mat [4][4]
 
float camera_z_axis [3]
 
float camera_z_offset
 
float camera_pos [3]
 
float dof_params [2]
 
Objectcamera
 
struct ViewLayerview_layer
 
struct Scenescene
 
struct View3Dv3d
 
Objectobact
 
struct bGPdatasbuffer_gpd
 
struct bGPDlayersbuffer_layer
 
struct bGPDstrokesbuffer_stroke
 
struct {
   GPENCIL_tObject *   first
 
   GPENCIL_tObject *   last
 
sbuffer_tobjects
 
GPUBatchstroke_batch
 
GPUBatchfill_batch
 
bool do_fast_drawing
 
bool snapshot_buffer_dirty
 
bool do_onion
 
bool playing
 
bool simplify_fill
 
bool simplify_fx
 
bool simplify_antialias
 
bool use_lighting
 
bool use_lights
 
bool use_layer_fb
 
bool use_object_fb
 
bool use_mask_fb
 
bool use_signed_fb
 
bool use_multiedit_lines_only
 
float fade_layer_opacity
 
float fade_gp_object_opacity
 
float fade_3d_object_opacity
 
float mask_opacity
 
float xray_alpha
 
int mask_invert
 
float vertex_paint_opacity
 

Detailed Description

Definition at line 191 of file gpencil_engine.h.

Member Data Documentation

◆ camera

Object* GPENCIL_PrivateData::camera

◆ camera_pos

float GPENCIL_PrivateData::camera_pos[3]

Definition at line 251 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init(), and gpencil_object_cache_add().

◆ camera_z_axis

float GPENCIL_PrivateData::camera_z_axis[3]

Definition at line 250 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init(), and gpencil_object_cache_add().

◆ camera_z_offset

float GPENCIL_PrivateData::camera_z_offset

Definition at line 250 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init().

◆ cfra

int GPENCIL_PrivateData::cfra

◆ color_layer_tx

GPUTexture* GPENCIL_PrivateData::color_layer_tx

Definition at line 214 of file gpencil_engine.h.

Referenced by GPENCIL_cache_finish(), and gpencil_layer_cache_add().

◆ color_object_tx

GPUTexture* GPENCIL_PrivateData::color_object_tx

Definition at line 215 of file gpencil_engine.h.

Referenced by GPENCIL_cache_finish().

◆ color_tx

GPUTexture* GPENCIL_PrivateData::color_tx

Definition at line 213 of file gpencil_engine.h.

Referenced by GPENCIL_antialiasing_init(), and GPENCIL_cache_finish().

◆ depth_tx

GPUTexture* GPENCIL_PrivateData::depth_tx

Definition at line 212 of file gpencil_engine.h.

Referenced by GPENCIL_cache_finish(), and GPENCIL_cache_init().

◆ do_fast_drawing

bool GPENCIL_PrivateData::do_fast_drawing

◆ do_onion

bool GPENCIL_PrivateData::do_onion

Definition at line 282 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and GPENCIL_cache_populate().

◆ dof_params

float GPENCIL_PrivateData::dof_params[2]

Definition at line 253 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and gpencil_vfx_blur().

◆ draw_depth_only

bool GPENCIL_PrivateData::draw_depth_only

◆ draw_wireframe

bool GPENCIL_PrivateData::draw_wireframe

Definition at line 245 of file gpencil_engine.h.

Referenced by GPENCIL_antialiasing_init(), and GPENCIL_engine_init().

◆ dummy_tx

GPUTexture* GPENCIL_PrivateData::dummy_tx

◆ fade_3d_object_opacity

float GPENCIL_PrivateData::fade_3d_object_opacity

Definition at line 307 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and GPENCIL_draw_scene().

◆ fade_gp_object_opacity

float GPENCIL_PrivateData::fade_gp_object_opacity

Definition at line 305 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and gpencil_layer_final_opacity_get().

◆ fade_layer_opacity

float GPENCIL_PrivateData::fade_layer_opacity

Definition at line 303 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and gpencil_layer_final_opacity_get().

◆ fill_batch

GPUBatch* GPENCIL_PrivateData::fill_batch

Definition at line 277 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init().

◆ first

GPENCIL_tObject* GPENCIL_PrivateData::first

◆ global_light_pool

GPENCIL_LightPool* GPENCIL_PrivateData::global_light_pool

◆ gp_layer_pool

struct BLI_memblock* GPENCIL_PrivateData::gp_layer_pool

◆ gp_light_pool

struct BLI_memblock* GPENCIL_PrivateData::gp_light_pool

◆ gp_maskbit_pool

struct BLI_memblock* GPENCIL_PrivateData::gp_maskbit_pool

◆ gp_material_pool

struct BLI_memblock* GPENCIL_PrivateData::gp_material_pool

◆ gp_object_pool

struct BLI_memblock* GPENCIL_PrivateData::gp_object_pool

◆ gp_vfx_pool

struct BLI_memblock* GPENCIL_PrivateData::gp_vfx_pool

◆ is_render

bool GPENCIL_PrivateData::is_render

◆ is_stroke_order_3d

int GPENCIL_PrivateData::is_stroke_order_3d

Definition at line 247 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and GPENCIL_draw_object().

◆ is_viewport

bool GPENCIL_PrivateData::is_viewport

Definition at line 241 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and GPENCIL_engine_init().

◆ last

GPENCIL_tObject * GPENCIL_PrivateData::last

◆ last_light_pool

GPENCIL_LightPool* GPENCIL_PrivateData::last_light_pool

◆ last_material_pool

GPENCIL_MaterialPool* GPENCIL_PrivateData::last_material_pool

◆ mask_invert

int GPENCIL_PrivateData::mask_invert

Definition at line 313 of file gpencil_engine.h.

◆ mask_opacity

float GPENCIL_PrivateData::mask_opacity

Definition at line 309 of file gpencil_engine.h.

◆ mask_tx

GPUTexture* GPENCIL_PrivateData::mask_tx

Definition at line 221 of file gpencil_engine.h.

Referenced by GPENCIL_cache_finish(), and gpencil_layer_cache_add().

◆ obact

Object* GPENCIL_PrivateData::obact

◆ object_bound_mat

float GPENCIL_PrivateData::object_bound_mat[4][4]

Definition at line 248 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and GPENCIL_draw_object().

◆ playing

bool GPENCIL_PrivateData::playing

Definition at line 284 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and GPENCIL_cache_populate().

◆ reveal_layer_tx

GPUTexture* GPENCIL_PrivateData::reveal_layer_tx

Definition at line 218 of file gpencil_engine.h.

Referenced by GPENCIL_cache_finish(), and gpencil_layer_cache_add().

◆ reveal_object_tx

GPUTexture* GPENCIL_PrivateData::reveal_object_tx

Definition at line 219 of file gpencil_engine.h.

Referenced by GPENCIL_cache_finish().

◆ reveal_tx

GPUTexture* GPENCIL_PrivateData::reveal_tx

Definition at line 217 of file gpencil_engine.h.

Referenced by GPENCIL_antialiasing_init(), and GPENCIL_cache_finish().

◆ sbuffer_gpd

struct bGPdata* GPENCIL_PrivateData::sbuffer_gpd

◆ sbuffer_layer

struct bGPDlayer* GPENCIL_PrivateData::sbuffer_layer

◆ sbuffer_stroke

struct bGPDstroke* GPENCIL_PrivateData::sbuffer_stroke

◆ 

struct { ... } GPENCIL_PrivateData::sbuffer_tobjects

◆ scene

struct Scene* GPENCIL_PrivateData::scene

◆ scene_depth_tx

GPUTexture* GPENCIL_PrivateData::scene_depth_tx

◆ scene_fb

GPUFrameBuffer* GPENCIL_PrivateData::scene_fb

◆ shadeless_light_pool

GPENCIL_LightPool* GPENCIL_PrivateData::shadeless_light_pool

Definition at line 206 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init(), and gpencil_layer_cache_populate().

◆ simplify_antialias

bool GPENCIL_PrivateData::simplify_antialias

◆ simplify_fill

bool GPENCIL_PrivateData::simplify_fill

Definition at line 286 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and gpencil_stroke_cache_populate().

◆ simplify_fx

bool GPENCIL_PrivateData::simplify_fx

Definition at line 287 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init().

◆ smaa_edge_tx

GPUTexture* GPENCIL_PrivateData::smaa_edge_tx

Definition at line 223 of file gpencil_engine.h.

Referenced by GPENCIL_antialiasing_init().

◆ smaa_weight_tx

GPUTexture* GPENCIL_PrivateData::smaa_weight_tx

Definition at line 224 of file gpencil_engine.h.

Referenced by GPENCIL_antialiasing_init().

◆ snapshot_buffer_dirty

bool GPENCIL_PrivateData::snapshot_buffer_dirty

◆ stroke_batch

GPUBatch* GPENCIL_PrivateData::stroke_batch

Definition at line 276 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init().

◆ 

struct { ... } GPENCIL_PrivateData::tobjects

◆ 

struct { ... } GPENCIL_PrivateData::tobjects_infront

◆ use_layer_fb

bool GPENCIL_PrivateData::use_layer_fb

◆ use_lighting

bool GPENCIL_PrivateData::use_lighting

Definition at line 290 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init(), and gpencil_layer_cache_populate().

◆ use_lights

bool GPENCIL_PrivateData::use_lights

Definition at line 292 of file gpencil_engine.h.

Referenced by GPENCIL_cache_populate(), and GPENCIL_engine_init().

◆ use_mask_fb

bool GPENCIL_PrivateData::use_mask_fb

◆ use_multiedit_lines_only

bool GPENCIL_PrivateData::use_multiedit_lines_only

Definition at line 301 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init(), and gpencil_stroke_cache_populate().

◆ use_object_fb

bool GPENCIL_PrivateData::use_object_fb

Definition at line 295 of file gpencil_engine.h.

Referenced by GPENCIL_cache_finish(), and GPENCIL_cache_init().

◆ use_signed_fb

bool GPENCIL_PrivateData::use_signed_fb

◆ v3d

struct View3D* GPENCIL_PrivateData::v3d

◆ v3d_color_type

int GPENCIL_PrivateData::v3d_color_type

◆ v3d_single_color

float GPENCIL_PrivateData::v3d_single_color[3]

Definition at line 231 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init(), and gpencil_viewport_material_overrides().

◆ vertex_paint_opacity

float GPENCIL_PrivateData::vertex_paint_opacity

Definition at line 315 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and gpencil_layer_cache_add().

◆ view_layer

struct ViewLayer* GPENCIL_PrivateData::view_layer

◆ xray_alpha

float GPENCIL_PrivateData::xray_alpha

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