Blender V4.5
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 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
 
GPUTexture * scene_depth_tx
 
GPUFrameBuffer * scene_fb
 
Texture accumulation_tx = {"gp_accumulation_tx"}
 
Framebuffer accumulation_fb = {"gp_accumulation_fb"}
 
GPUTexture * dummy_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 do_fast_drawing
 
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_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'}
 
DRWTextStoretext_draw_cache = nullptr
 
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 167 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, CTX_wm_manager(), Object::data, DEG_get_ctime(), DRWContext::depsgraph, depth_tx, do_fast_drawing, 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(), blender::draw::Framebuffer::ensure(), blender::draw::Texture::ensure_2d(), DRWContext::evil_C, fabsf, fade_3d_object_opacity, fade_gp_object_opacity, fade_layer_opacity, fill_batch, View3D::flag2, blender::draw::Texture::free(), blender::draw::gpencil::ShaderCache::get(), View3D::gp_flag, View3DOverlay::gpencil_fade_layer, View3DOverlay::gpencil_paper_opacity, GPENCIL_SIMPLIFY_AA, GPENCIL_SIMPLIFY_FILL, GPENCIL_SIMPLIFY_FX, View3DOverlay::gpencil_vertex_paint_opacity, GPU_ATTACHMENT_TEXTURE, GPU_DEPTH24_STENCIL8, GPU_PRIM_TRIS, GPU_R11F_G11F_B10F, GPU_TEXTURE_USAGE_ATTACHMENT, blender::draw::detail::Pass< DrawCommandBufType >::init(), is_render, is_stroke_order_3d, blender::draw::Texture::is_valid(), is_viewport, mask_invert, mask_invert_ps, merge_depth_ps, OB_CAMERA, OB_RENDER, obact, DRWContext::obact, object_bound_mat, View3D::overlay, playing, blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), DRWContext::rv3d, scene, DRWContext::scene, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), View3D::shading, simplify_antialias, simplify_fill, simplify_fx, size(), snapshot_buffer_dirty, snapshot_color_tx, snapshot_depth_tx, snapshot_fb, snapshot_reveal_tx, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), stroke_batch, Object::type, View3DShading::type, use_layer_fb, use_mask_fb, use_object_fb, use_signed_fb, DRWContext::v3d, 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, RegionView3D::viewcamtexcofac, and DRWContext::viewport_size_get().

Referenced by blender::draw::gpencil::Engine::render_to_image().

◆ draw()

◆ end_sync()

◆ init()

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

Init engine. Run first and for every redraw.

Implements DrawEngine.

Definition at line 55 of file gpencil_engine_c.cc.

References BLI_memblock_clear(), camera, View3D::camera, camera_pos, camera_z_axis, camera_z_offset, blender::draw::detail::SubPassVector< T, block_size >::clear(), View3DShading::color_type, copy_v3_fl(), copy_v3_v3(), blender::draw::View::default_get(), dot_v3v3(), draw_ctx, draw_wireframe, DRW_context_get(), dummy_depth, dummy_texture, dummy_tx, blender::draw::Texture::ensure_2d(), View3D::flag2, force_stroke_order_3d, global_light_pool, View3D::gp_flag, gp_layer_pool, gp_light_pool, gp_maskbit_pool, gp_material_pool, gp_object_pool, gp_vfx_pool, blender::draw::gpencil::gpencil_light_ambient_add(), blender::draw::gpencil::gpencil_light_pool_add(), GPU_DEPTH_COMPONENT24, GPU_RGBA8, GPU_TEXTURE_USAGE_SHADER_READ, is_render, is_sorted, blender::draw::Texture::is_valid(), is_viewport, last_light_pool, last_material_pool, Object::mode, OB_MODE_VERTEX_GREASE_PENCIL, OB_RENDER, OB_SOLID, OB_WIRE, DRWContext::obact, RegionView3D::persp, render_depth_tx, DRWContext::rv3d, RV3D_CAMOB, sbuffer_tobjects, scene, DRWContext::scene, scene_depth_tx, scene_fb, shadeless_light_pool, View3D::shading, View3DShading::single_color, View3DShading::studiolight_intensity, tobjects, tobjects_infront, View3DShading::type, use_lighting, use_lights, use_multiedit_lines_only, v3d, DRWContext::v3d, v3d_color_type, V3D_GP_FORCE_STROKE_ORDER_3D, V3D_GP_SHOW_MULTIEDIT_LINES, V3D_HIDE_OVERLAYS, V3D_SHADING_VERTEX_COLOR, v3d_single_color, V3D_USES_SCENE_LIGHTS, V3D_USES_SCENE_WORLD, view_layer, DRWContext::view_layer, blender::draw::View::viewinv(), Scene::world, world, XRAY_ALPHA, xray_alpha, and XRAY_ENABLED.

Referenced by blender::draw::gpencil::Engine::render_to_image().

◆ name_get()

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

Implements DrawEngine.

Definition at line 313 of file gpencil_engine_private.hh.

◆ 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 215 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]

◆ 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 235 of file gpencil_engine_private.hh.

Referenced by init().

◆ cfra

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

Definition at line 223 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ color_layer_tx

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

◆ 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_fast_drawing

bool blender::draw::gpencil::Instance::do_fast_drawing

Definition at line 257 of file gpencil_engine_private.hh.

Referenced by begin_sync(), and draw().

◆ do_onion

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

◆ 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 238 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ draw_ctx

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

Definition at line 193 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 231 of file gpencil_engine_private.hh.

Referenced by init().

◆ dummy_depth

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

◆ 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

GPUTexture* blender::draw::gpencil::Instance::dummy_tx

◆ fade_3d_object_opacity

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

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

◆ fade_layer_opacity

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

◆ fill_batch

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

Definition at line 256 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ first

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

◆ force_stroke_order_3d

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

Definition at line 298 of file gpencil_engine_private.hh.

Referenced by init().

◆ global_light_pool

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

Definition at line 200 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 185 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().

◆ is_render

◆ is_sorted

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

◆ is_stroke_order_3d

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

Definition at line 233 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ is_viewport

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

Definition at line 229 of file gpencil_engine_private.hh.

Referenced by begin_sync(), and init().

◆ last

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

◆ 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 169 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 171 of file gpencil_engine_private.hh.

Referenced by acquire_resources().

◆ mask_invert

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

Definition at line 294 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 290 of file gpencil_engine_private.hh.

◆ mask_tx

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

◆ 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

◆ 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 170 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"}

◆ 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

◆ scene_depth_tx

GPUTexture* blender::draw::gpencil::Instance::scene_depth_tx

◆ scene_fb

GPUFrameBuffer* blender::draw::gpencil::Instance::scene_fb

Definition at line 212 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 202 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 172 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 173 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.

Referenced by begin_sync().

◆ 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 168 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ 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 255 of file gpencil_engine_private.hh.

Referenced by begin_sync().

◆ [struct]

◆ [struct]

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

◆ use_layer_fb

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

◆ 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 282 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_signed_fb

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

◆ 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: