Blender V4.3
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 
 
GPUTexture * depth_tx
 
GPUTexture * color_tx
 
GPUTexture * color_layer_tx
 
GPUTexture * color_object_tx
 
GPUTexture * reveal_tx
 
GPUTexture * reveal_layer_tx
 
GPUTexture * reveal_object_tx
 
GPUTexture * mask_tx
 
GPUTexture * smaa_edge_tx
 
GPUTexture * smaa_weight_tx
 
GPUTexture * scene_depth_tx
 
GPUFrameBuffer * scene_fb
 
GPUTexture * dummy_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 
 
blender::gpu::Batch * stroke_batch
 
blender::gpu::Batch * fill_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 197 of file gpencil_engine.h.

Member Data Documentation

◆ camera

Object* GPENCIL_PrivateData::camera

◆ camera_pos

float GPENCIL_PrivateData::camera_pos[3]

Definition at line 257 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 256 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 256 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init().

◆ cfra

int GPENCIL_PrivateData::cfra

Definition at line 241 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and grease_pencil_object_cache_populate().

◆ color_layer_tx

GPUTexture* GPENCIL_PrivateData::color_layer_tx

◆ color_object_tx

GPUTexture* GPENCIL_PrivateData::color_object_tx

Definition at line 221 of file gpencil_engine.h.

Referenced by GPENCIL_cache_finish(), and gpencil_vfx_cache_populate().

◆ color_tx

GPUTexture* GPENCIL_PrivateData::color_tx

Definition at line 219 of file gpencil_engine.h.

Referenced by GPENCIL_antialiasing_init(), and GPENCIL_cache_finish().

◆ depth_tx

GPUTexture* GPENCIL_PrivateData::depth_tx

Definition at line 218 of file gpencil_engine.h.

Referenced by GPENCIL_cache_finish(), and GPENCIL_cache_init().

◆ do_fast_drawing

bool GPENCIL_PrivateData::do_fast_drawing

Definition at line 284 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and GPENCIL_draw_scene().

◆ do_onion

bool GPENCIL_PrivateData::do_onion

◆ dof_params

float GPENCIL_PrivateData::dof_params[2]

Definition at line 259 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 251 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 313 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

◆ fade_layer_opacity

float GPENCIL_PrivateData::fade_layer_opacity

◆ fill_batch

blender::gpu::Batch* GPENCIL_PrivateData::fill_batch

Definition at line 283 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init().

◆ first

◆ global_light_pool

GPENCIL_LightPool* GPENCIL_PrivateData::global_light_pool

◆ gp_layer_pool

◆ gp_light_pool

struct BLI_memblock* GPENCIL_PrivateData::gp_light_pool

◆ 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

◆ is_stroke_order_3d

int GPENCIL_PrivateData::is_stroke_order_3d

Definition at line 253 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and GPENCIL_draw_object().

◆ is_viewport

bool GPENCIL_PrivateData::is_viewport

◆ 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 319 of file gpencil_engine.h.

◆ mask_opacity

float GPENCIL_PrivateData::mask_opacity

Definition at line 315 of file gpencil_engine.h.

◆ mask_tx

GPUTexture* GPENCIL_PrivateData::mask_tx

◆ obact

◆ object_bound_mat

float GPENCIL_PrivateData::object_bound_mat[4][4]

Definition at line 254 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and GPENCIL_draw_object().

◆ playing

bool GPENCIL_PrivateData::playing

Definition at line 290 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init().

◆ reveal_layer_tx

GPUTexture* GPENCIL_PrivateData::reveal_layer_tx

◆ reveal_object_tx

GPUTexture* GPENCIL_PrivateData::reveal_object_tx

Definition at line 225 of file gpencil_engine.h.

Referenced by GPENCIL_cache_finish(), and gpencil_vfx_cache_populate().

◆ reveal_tx

GPUTexture* GPENCIL_PrivateData::reveal_tx

Definition at line 223 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

Definition at line 274 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init().

◆ sbuffer_stroke

struct bGPDstroke* GPENCIL_PrivateData::sbuffer_stroke

Definition at line 276 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init().

◆ [struct]

struct { ... } GPENCIL_PrivateData::sbuffer_tobjects

◆ 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 212 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init(), and grease_pencil_object_cache_populate().

◆ simplify_antialias

bool GPENCIL_PrivateData::simplify_antialias

◆ simplify_fill

bool GPENCIL_PrivateData::simplify_fill

Definition at line 292 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and grease_pencil_object_cache_populate().

◆ simplify_fx

bool GPENCIL_PrivateData::simplify_fx

Definition at line 293 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init(), and gpencil_vfx_cache_populate().

◆ smaa_edge_tx

GPUTexture* GPENCIL_PrivateData::smaa_edge_tx

Definition at line 229 of file gpencil_engine.h.

Referenced by GPENCIL_antialiasing_init().

◆ smaa_weight_tx

GPUTexture* GPENCIL_PrivateData::smaa_weight_tx

Definition at line 230 of file gpencil_engine.h.

Referenced by GPENCIL_antialiasing_init().

◆ snapshot_buffer_dirty

bool GPENCIL_PrivateData::snapshot_buffer_dirty

◆ stroke_batch

blender::gpu::Batch* GPENCIL_PrivateData::stroke_batch

Definition at line 282 of file gpencil_engine.h.

Referenced by GPENCIL_cache_init().

◆ [struct]

◆ [struct]

struct { ... } GPENCIL_PrivateData::tobjects_infront

◆ use_layer_fb

bool GPENCIL_PrivateData::use_layer_fb

◆ use_lighting

bool GPENCIL_PrivateData::use_lighting

Definition at line 296 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init(), and grease_pencil_object_cache_populate().

◆ use_lights

bool GPENCIL_PrivateData::use_lights

Definition at line 298 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 307 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init(), and grease_pencil_object_cache_populate().

◆ use_object_fb

bool GPENCIL_PrivateData::use_object_fb

◆ 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 237 of file gpencil_engine.h.

Referenced by GPENCIL_engine_init(), and gpencil_viewport_material_overrides().

◆ vertex_paint_opacity

float GPENCIL_PrivateData::vertex_paint_opacity

◆ view_layer

struct ViewLayer* GPENCIL_PrivateData::view_layer

◆ xray_alpha


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