Blender V5.0
blender::draw::gpencil::Instance Struct Referencefinal

#include <gpencil_engine_private.hh>

Inherits DrawEngine.

Public Types

using tVfx_Pool = draw::detail::SubPassVector<tVfx>
using tLayer_Pool = draw::detail::SubPassVector<tLayer>

Public Member Functions

 ~Instance () final
void acquire_resources ()
void release_resources ()
StringRefNull name_get () final
void init () final
void begin_sync () final
void object_sync (ObjectRef &ob_ref, Manager &manager) final
void end_sync () final
void draw (Manager &manager) final
void antialiasing_accumulate (Manager &manager, float alpha)
Public Member Functions inherited from DrawEngine
virtual ~DrawEngine ()=default

Static Public Member Functions

static float2 antialiasing_sample_get (int sample_index, int sample_count)

Public Attributes

PassSimple smaa_edge_ps = {"smaa_edge"}
PassSimple smaa_weight_ps = {"smaa_weight"}
PassSimple smaa_resolve_ps = {"smaa_resolve"}
PassSimple accumulate_ps = {"aa_accumulate"}
PassSimple merge_depth_ps = {"merge_depth_ps"}
PassSimple mask_invert_ps = {"mask_invert_ps"}
float4x4 object_bound_mat
Texture dummy_texture = {"dummy_texture"}
Texture dummy_depth = {"dummy_depth"}
Texture render_depth_tx = {"render_depth_tx"}
Texture render_color_tx = {"render_color_tx"}
Texture snapshot_depth_tx = {"snapshot_depth_tx"}
Texture snapshot_color_tx = {"snapshot_color_tx"}
Texture snapshot_reveal_tx = {"snapshot_reveal_tx"}
Texture smaa_area_tx = {"smaa_area_tx"}
Texture smaa_search_tx = {"smaa_search_tx"}
TextureFromPool depth_tx = {"depth_tx"}
TextureFromPool color_tx = {"color_tx"}
TextureFromPool color_layer_tx = {"color_layer_tx"}
TextureFromPool color_object_tx = {"color_object_tx"}
TextureFromPool reveal_tx = {"reveal_tx"}
TextureFromPool reveal_layer_tx = {"reveal_layer_tx"}
TextureFromPool reveal_object_tx = {"reveal_object_tx"}
TextureFromPool mask_depth_tx = {"mask_depth_tx"}
TextureFromPool mask_color_tx = {"mask_color_tx"}
TextureFromPool mask_tx = {"mask_tx"}
TextureFromPool smaa_edge_tx = {"smaa_edge_tx"}
TextureFromPool smaa_weight_tx = {"smaa_weight_tx"}
Framebuffer render_fb = {"render_fb"}
Framebuffer gpencil_fb = {"gpencil_fb"}
Framebuffer gpencil_pass_fb = {"gpencil_pass_fb"}
Framebuffer snapshot_fb = {"snapshot_fb"}
Framebuffer layer_fb = {"layer_fb"}
Framebuffer object_fb = {"object_fb"}
Framebuffer mask_fb = {"mask_fb"}
Framebuffer smaa_edge_fb = {"smaa_edge_fb"}
Framebuffer smaa_weight_fb = {"smaa_weight_fb"}
struct BLI_memblockgp_object_pool = BLI_memblock_create(sizeof(tObject))
tLayer_Poolgp_layer_pool = new tLayer_Pool()
tVfx_Poolgp_vfx_pool = new tVfx_Pool()
struct BLI_memblockgp_material_pool = BLI_memblock_create(sizeof(MaterialPool))
struct BLI_memblockgp_light_pool = BLI_memblock_create(sizeof(LightPool))
struct BLI_memblockgp_maskbit_pool = BLI_memblock_create(BLI_BITMAP_SIZE(GP_MAX_MASKBITS))
const DRWContextdraw_ctx = nullptr
MaterialPoollast_material_pool
LightPoollast_light_pool
LightPoolglobal_light_pool
LightPoolshadeless_light_pool
struct { 
   tObject *   first 
   tObject *   last 
tobjects
struct { 
   tObject *   first 
   tObject *   last 
tobjects_infront
bool is_sorted
gpu::Texturescene_depth_tx
gpu::FrameBufferscene_fb
Texture accumulation_tx = {"gp_accumulation_tx"}
Framebuffer accumulation_fb = {"gp_accumulation_fb"}
gpu::Texturedummy_tx
float v3d_single_color [3]
int v3d_color_type
int cfra
bool is_render
bool is_viewport
bool draw_wireframe
int is_stroke_order_3d
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 { 
   tObject *   first 
   tObject *   last 
sbuffer_tobjects
gpu::Batch * stroke_batch
gpu::Batch * fill_batch
bool snapshot_buffer_dirty
bool do_onion
bool do_onion_only_active_object
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_separate_pass
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
bool force_stroke_order_3d
Public Attributes inherited from DrawEngine
char info [GPU_INFO_SIZE] = {'\0'}
bool used = false

Additional Inherited Members

Static Public Attributes inherited from DrawEngine
static constexpr int GPU_INFO_SIZE = 512

Detailed Description

Definition at line 123 of file gpencil_engine_private.hh.

Member Typedef Documentation

◆ tLayer_Pool

◆ tVfx_Pool

Constructor & Destructor Documentation

◆ ~Instance()

blender::draw::gpencil::Instance::~Instance ( )
inlinefinal

Member Function Documentation

◆ acquire_resources()

◆ antialiasing_accumulate()

◆ antialiasing_sample_get()

float2 blender::draw::gpencil::Instance::antialiasing_sample_get ( int sample_index,
int sample_count )
static

◆ begin_sync()

void blender::draw::gpencil::Instance::begin_sync ( )
finalvirtual

Scene synchronization. Command buffers building.

Implements DrawEngine.

Definition at line 168 of file gpencil_engine_c.cc.

References blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), BKE_camera_object_dof_distance(), BKE_camera_sensor_size(), CAM_DOF_ENABLED, camera, cfra, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), CTX_wm_manager(), DEG_get_ctime(), depth_tx, do_onion, do_onion_only_active_object, dof_params, draw_ctx, blender::draw::detail::PassBase< DrawCommandBufType >::draw_procedural(), DRW_STATE_DEPTH_LESS, DRW_STATE_LOGIC_INVERT, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, ED_screen_animation_playing(), fabsf, fade_3d_object_opacity, fade_gp_object_opacity, fade_layer_opacity, fill_batch, blender::draw::gpencil::ShaderCache::get(), blender::bke::compositor::get_used_passes(), GPENCIL_SIMPLIFY_AA, GPENCIL_SIMPLIFY_FILL, GPENCIL_SIMPLIFY_FX, GPU_PRIM_TRIS, blender::draw::detail::Pass< DrawCommandBufType >::init(), is_render, is_stroke_order_3d, is_viewport, mask_invert, mask_invert_ps, merge_depth_ps, nullptr, OB_CAMERA, OB_RENDER, obact, object_bound_mat, playing, blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), scene, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), simplify_antialias, simplify_fill, simplify_fx, snapshot_color_tx, snapshot_depth_tx, snapshot_reveal_tx, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), stroke_batch, use_layer_fb, use_mask_fb, use_object_fb, use_separate_pass, use_signed_fb, V3D_GP_FADE_NOACTIVE_GPENCIL, V3D_GP_FADE_NOACTIVE_LAYERS, V3D_GP_FADE_OBJECTS, V3D_GP_ONION_SKIN_ACTIVE_OBJECT, V3D_GP_SHOW_ONION_SKIN, V3D_HIDE_OVERLAYS, vertex_paint_opacity, and view_layer.

Referenced by blender::draw::gpencil::render_frame().

◆ draw()

◆ end_sync()

◆ init()

◆ name_get()

StringRefNull blender::draw::gpencil::Instance::name_get ( )
inlinefinalvirtual

Implements DrawEngine.

Definition at line 316 of file gpencil_engine_private.hh.

References final.

◆ object_sync()

◆ release_resources()

void blender::draw::gpencil::Instance::release_resources ( )

Member Data Documentation

◆ accumulate_ps

PassSimple blender::draw::gpencil::Instance::accumulate_ps = {"aa_accumulate"}

Definition at line 127 of file gpencil_engine_private.hh.

Referenced by antialiasing_accumulate().

◆ accumulation_fb

Framebuffer blender::draw::gpencil::Instance::accumulation_fb = {"gp_accumulation_fb"}

Definition at line 216 of file gpencil_engine_private.hh.

Referenced by antialiasing_accumulate().

◆ accumulation_tx

Texture blender::draw::gpencil::Instance::accumulation_tx = {"gp_accumulation_tx"}

◆ camera

Object* blender::draw::gpencil::Instance::camera

◆ camera_pos

float blender::draw::gpencil::Instance::camera_pos[3]

Definition at line 237 of file gpencil_engine_private.hh.

Referenced by init().

◆ camera_z_axis

float blender::draw::gpencil::Instance::camera_z_axis[3]

◆ camera_z_offset

float blender::draw::gpencil::Instance::camera_z_offset

Definition at line 236 of file gpencil_engine_private.hh.

Referenced by init().

◆ cfra

int blender::draw::gpencil::Instance::cfra

Definition at line 224 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ color_layer_tx

TextureFromPool blender::draw::gpencil::Instance::color_layer_tx = {"color_layer_tx"}

Definition at line 152 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and release_resources().

◆ color_object_tx

TextureFromPool blender::draw::gpencil::Instance::color_object_tx = {"color_object_tx"}

Definition at line 153 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and release_resources().

◆ color_tx

TextureFromPool blender::draw::gpencil::Instance::color_tx = {"color_tx"}

Definition at line 151 of file gpencil_engine_private.hh.

◆ depth_tx

TextureFromPool blender::draw::gpencil::Instance::depth_tx = {"depth_tx"}

Definition at line 150 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), begin_sync(), and release_resources().

◆ do_onion

bool blender::draw::gpencil::Instance::do_onion

Definition at line 261 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ do_onion_only_active_object

bool blender::draw::gpencil::Instance::do_onion_only_active_object

Definition at line 263 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ dof_params

float blender::draw::gpencil::Instance::dof_params[2]

Definition at line 239 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ draw_ctx

const DRWContext* blender::draw::gpencil::Instance::draw_ctx = nullptr

Definition at line 194 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), begin_sync(), draw(), and init().

◆ draw_wireframe

bool blender::draw::gpencil::Instance::draw_wireframe

Definition at line 232 of file gpencil_engine_private.hh.

Referenced by init().

◆ dummy_depth

Texture blender::draw::gpencil::Instance::dummy_depth = {"dummy_depth"}

Definition at line 137 of file gpencil_engine_private.hh.

Referenced by init().

◆ dummy_texture

Texture blender::draw::gpencil::Instance::dummy_texture = {"dummy_texture"}

Definition at line 136 of file gpencil_engine_private.hh.

Referenced by init().

◆ dummy_tx

gpu::Texture* blender::draw::gpencil::Instance::dummy_tx

Definition at line 218 of file gpencil_engine_private.hh.

Referenced by init().

◆ fade_3d_object_opacity

float blender::draw::gpencil::Instance::fade_3d_object_opacity

Definition at line 291 of file gpencil_engine_private.hh.

Referenced by begin_sync(), and draw().

◆ fade_gp_object_opacity

float blender::draw::gpencil::Instance::fade_gp_object_opacity

Definition at line 289 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ fade_layer_opacity

float blender::draw::gpencil::Instance::fade_layer_opacity

Definition at line 287 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ fill_batch

gpu::Batch* blender::draw::gpencil::Instance::fill_batch

Definition at line 257 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ first

tObject* blender::draw::gpencil::Instance::first

Definition at line 206 of file gpencil_engine_private.hh.

◆ force_stroke_order_3d

bool blender::draw::gpencil::Instance::force_stroke_order_3d

Definition at line 301 of file gpencil_engine_private.hh.

Referenced by init().

◆ global_light_pool

LightPool* blender::draw::gpencil::Instance::global_light_pool

Definition at line 201 of file gpencil_engine_private.hh.

Referenced by init(), and object_sync().

◆ gp_layer_pool

tLayer_Pool* blender::draw::gpencil::Instance::gp_layer_pool = new tLayer_Pool()

◆ gp_light_pool

struct BLI_memblock* blender::draw::gpencil::Instance::gp_light_pool = BLI_memblock_create(sizeof(LightPool))

◆ gp_maskbit_pool

struct BLI_memblock* blender::draw::gpencil::Instance::gp_maskbit_pool = BLI_memblock_create(BLI_BITMAP_SIZE(GP_MAX_MASKBITS))

◆ gp_material_pool

struct BLI_memblock* blender::draw::gpencil::Instance::gp_material_pool = BLI_memblock_create(sizeof(MaterialPool))

◆ gp_object_pool

struct BLI_memblock* blender::draw::gpencil::Instance::gp_object_pool = BLI_memblock_create(sizeof(tObject))

◆ gp_vfx_pool

tVfx_Pool* blender::draw::gpencil::Instance::gp_vfx_pool = new tVfx_Pool()

Definition at line 186 of file gpencil_engine_private.hh.

Referenced by init(), and ~Instance().

◆ gpencil_fb

Framebuffer blender::draw::gpencil::Instance::gpencil_fb = {"gpencil_fb"}

Definition at line 167 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and draw().

◆ gpencil_pass_fb

Framebuffer blender::draw::gpencil::Instance::gpencil_pass_fb = {"gpencil_pass_fb"}

Definition at line 168 of file gpencil_engine_private.hh.

Referenced by acquire_resources().

◆ is_render

bool blender::draw::gpencil::Instance::is_render

◆ is_sorted

bool blender::draw::gpencil::Instance::is_sorted

Definition at line 210 of file gpencil_engine_private.hh.

Referenced by init().

◆ is_stroke_order_3d

int blender::draw::gpencil::Instance::is_stroke_order_3d

Definition at line 234 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ is_viewport

bool blender::draw::gpencil::Instance::is_viewport

Definition at line 230 of file gpencil_engine_private.hh.

Referenced by begin_sync(), and init().

◆ last

tObject * blender::draw::gpencil::Instance::last

Definition at line 206 of file gpencil_engine_private.hh.

◆ last_light_pool

LightPool* blender::draw::gpencil::Instance::last_light_pool

◆ last_material_pool

MaterialPool* blender::draw::gpencil::Instance::last_material_pool

◆ layer_fb

Framebuffer blender::draw::gpencil::Instance::layer_fb = {"layer_fb"}

Definition at line 170 of file gpencil_engine_private.hh.

Referenced by acquire_resources().

◆ mask_color_tx

TextureFromPool blender::draw::gpencil::Instance::mask_color_tx = {"mask_color_tx"}

Definition at line 160 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and release_resources().

◆ mask_depth_tx

TextureFromPool blender::draw::gpencil::Instance::mask_depth_tx = {"mask_depth_tx"}

Definition at line 159 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and release_resources().

◆ mask_fb

Framebuffer blender::draw::gpencil::Instance::mask_fb = {"mask_fb"}

Definition at line 172 of file gpencil_engine_private.hh.

Referenced by acquire_resources().

◆ mask_invert

int blender::draw::gpencil::Instance::mask_invert

Definition at line 297 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ mask_invert_ps

PassSimple blender::draw::gpencil::Instance::mask_invert_ps = {"mask_invert_ps"}

Definition at line 131 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ mask_opacity

float blender::draw::gpencil::Instance::mask_opacity

Definition at line 293 of file gpencil_engine_private.hh.

◆ mask_tx

TextureFromPool blender::draw::gpencil::Instance::mask_tx = {"mask_tx"}

Definition at line 161 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and release_resources().

◆ merge_depth_ps

PassSimple blender::draw::gpencil::Instance::merge_depth_ps = {"merge_depth_ps"}

Definition at line 129 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ obact

Object* blender::draw::gpencil::Instance::obact

Definition at line 250 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ object_bound_mat

float4x4 blender::draw::gpencil::Instance::object_bound_mat

Definition at line 133 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ object_fb

Framebuffer blender::draw::gpencil::Instance::object_fb = {"object_fb"}

Definition at line 171 of file gpencil_engine_private.hh.

Referenced by acquire_resources().

◆ playing

bool blender::draw::gpencil::Instance::playing

Definition at line 265 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ render_color_tx

Texture blender::draw::gpencil::Instance::render_color_tx = {"render_color_tx"}

◆ render_depth_tx

Texture blender::draw::gpencil::Instance::render_depth_tx = {"render_depth_tx"}

◆ render_fb

Framebuffer blender::draw::gpencil::Instance::render_fb = {"render_fb"}

◆ reveal_layer_tx

TextureFromPool blender::draw::gpencil::Instance::reveal_layer_tx = {"reveal_layer_tx"}

Definition at line 156 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and release_resources().

◆ reveal_object_tx

TextureFromPool blender::draw::gpencil::Instance::reveal_object_tx = {"reveal_object_tx"}

Definition at line 157 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and release_resources().

◆ reveal_tx

TextureFromPool blender::draw::gpencil::Instance::reveal_tx = {"reveal_tx"}

Definition at line 155 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and release_resources().

◆ [struct]

struct { ... } blender::draw::gpencil::Instance::sbuffer_tobjects

Referenced by init().

◆ scene

struct Scene* blender::draw::gpencil::Instance::scene

Definition at line 245 of file gpencil_engine_private.hh.

Referenced by begin_sync(), draw(), and init().

◆ scene_depth_tx

gpu::Texture* blender::draw::gpencil::Instance::scene_depth_tx

Definition at line 212 of file gpencil_engine_private.hh.

Referenced by draw(), and init().

◆ scene_fb

gpu::FrameBuffer* blender::draw::gpencil::Instance::scene_fb

Definition at line 213 of file gpencil_engine_private.hh.

Referenced by draw(), and init().

◆ shadeless_light_pool

LightPool* blender::draw::gpencil::Instance::shadeless_light_pool

Definition at line 203 of file gpencil_engine_private.hh.

Referenced by init().

◆ simplify_antialias

bool blender::draw::gpencil::Instance::simplify_antialias

Definition at line 269 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ simplify_fill

bool blender::draw::gpencil::Instance::simplify_fill

Definition at line 267 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ simplify_fx

bool blender::draw::gpencil::Instance::simplify_fx

Definition at line 268 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ smaa_area_tx

Texture blender::draw::gpencil::Instance::smaa_area_tx = {"smaa_area_tx"}

Definition at line 146 of file gpencil_engine_private.hh.

◆ smaa_edge_fb

Framebuffer blender::draw::gpencil::Instance::smaa_edge_fb = {"smaa_edge_fb"}

Definition at line 173 of file gpencil_engine_private.hh.

◆ smaa_edge_ps

PassSimple blender::draw::gpencil::Instance::smaa_edge_ps = {"smaa_edge"}

Definition at line 124 of file gpencil_engine_private.hh.

◆ smaa_edge_tx

TextureFromPool blender::draw::gpencil::Instance::smaa_edge_tx = {"smaa_edge_tx"}

Definition at line 163 of file gpencil_engine_private.hh.

Referenced by release_resources().

◆ smaa_resolve_ps

PassSimple blender::draw::gpencil::Instance::smaa_resolve_ps = {"smaa_resolve"}

Definition at line 126 of file gpencil_engine_private.hh.

◆ smaa_search_tx

Texture blender::draw::gpencil::Instance::smaa_search_tx = {"smaa_search_tx"}

Definition at line 147 of file gpencil_engine_private.hh.

◆ smaa_weight_fb

Framebuffer blender::draw::gpencil::Instance::smaa_weight_fb = {"smaa_weight_fb"}

Definition at line 174 of file gpencil_engine_private.hh.

◆ smaa_weight_ps

PassSimple blender::draw::gpencil::Instance::smaa_weight_ps = {"smaa_weight"}

Definition at line 125 of file gpencil_engine_private.hh.

◆ smaa_weight_tx

TextureFromPool blender::draw::gpencil::Instance::smaa_weight_tx = {"smaa_weight_tx"}

Definition at line 164 of file gpencil_engine_private.hh.

Referenced by release_resources().

◆ snapshot_buffer_dirty

bool blender::draw::gpencil::Instance::snapshot_buffer_dirty

Definition at line 258 of file gpencil_engine_private.hh.

◆ snapshot_color_tx

Texture blender::draw::gpencil::Instance::snapshot_color_tx = {"snapshot_color_tx"}

Definition at line 143 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ snapshot_depth_tx

Texture blender::draw::gpencil::Instance::snapshot_depth_tx = {"snapshot_depth_tx"}

Definition at line 142 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ snapshot_fb

Framebuffer blender::draw::gpencil::Instance::snapshot_fb = {"snapshot_fb"}

Definition at line 169 of file gpencil_engine_private.hh.

◆ snapshot_reveal_tx

Texture blender::draw::gpencil::Instance::snapshot_reveal_tx = {"snapshot_reveal_tx"}

Definition at line 144 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ stroke_batch

gpu::Batch* blender::draw::gpencil::Instance::stroke_batch

Definition at line 256 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ [struct]

struct { ... } blender::draw::gpencil::Instance::tobjects

Referenced by acquire_resources(), draw(), and init().

◆ [struct]

struct { ... } blender::draw::gpencil::Instance::tobjects_infront

Referenced by init().

◆ use_layer_fb

bool blender::draw::gpencil::Instance::use_layer_fb

Definition at line 275 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and begin_sync().

◆ use_lighting

bool blender::draw::gpencil::Instance::use_lighting

Definition at line 271 of file gpencil_engine_private.hh.

Referenced by init().

◆ use_lights

bool blender::draw::gpencil::Instance::use_lights

Definition at line 273 of file gpencil_engine_private.hh.

Referenced by init().

◆ use_mask_fb

bool blender::draw::gpencil::Instance::use_mask_fb

◆ use_multiedit_lines_only

bool blender::draw::gpencil::Instance::use_multiedit_lines_only

Definition at line 285 of file gpencil_engine_private.hh.

Referenced by init().

◆ use_object_fb

bool blender::draw::gpencil::Instance::use_object_fb

Definition at line 276 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and begin_sync().

◆ use_separate_pass

bool blender::draw::gpencil::Instance::use_separate_pass

Definition at line 280 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and begin_sync().

◆ use_signed_fb

bool blender::draw::gpencil::Instance::use_signed_fb

Definition at line 283 of file gpencil_engine_private.hh.

Referenced by acquire_resources(), and begin_sync().

◆ v3d

struct View3D* blender::draw::gpencil::Instance::v3d

◆ v3d_color_type

int blender::draw::gpencil::Instance::v3d_color_type

◆ v3d_single_color

float blender::draw::gpencil::Instance::v3d_single_color[3]

◆ vertex_paint_opacity

float blender::draw::gpencil::Instance::vertex_paint_opacity

◆ view_layer

struct ViewLayer* blender::draw::gpencil::Instance::view_layer

◆ xray_alpha

float blender::draw::gpencil::Instance::xray_alpha

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