Blender V4.3
LineartCache Struct Reference

#include <MOD_lineart.hh>

Public Attributes

blender::ed::greasepencil::LineartLimitInfo LimitInfo
 
LineartStaticMemPool chain_data_pool
 
LineartStaticMemPool shadow_data_pool
 
ListBase chains
 
ListBase shadow_elns
 
uint16_t all_enabled_edge_types
 

Detailed Description

Definition at line 436 of file MOD_lineart.hh.

Member Data Documentation

◆ all_enabled_edge_types

uint16_t LineartCache::all_enabled_edge_types

Cache only contains edge types specified in this variable.

Definition at line 451 of file MOD_lineart.hh.

Referenced by lineart_create_render_buffer_v3(), and MOD_lineart_gpencil_generate_v3().

◆ chain_data_pool

LineartStaticMemPool LineartCache::chain_data_pool

Separate memory pool for chain data and shadow, this goes to the cache, so when we free the main pool, chains and shadows will still be available.

Definition at line 440 of file MOD_lineart.hh.

Referenced by lineart_create_render_buffer_v3().

◆ chains

ListBase LineartCache::chains

A copy of ld->chains so we have that data available after ld has been destroyed.

Definition at line 444 of file MOD_lineart.hh.

Referenced by MOD_lineart_chain_clear_picked_flag(), MOD_lineart_compute_feature_lines_v3(), and MOD_lineart_gpencil_generate_v3().

◆ LimitInfo

Definition at line 437 of file MOD_lineart.hh.

Referenced by blender::modify_geometry_set().

◆ shadow_data_pool

LineartStaticMemPool LineartCache::shadow_data_pool

Definition at line 441 of file MOD_lineart.hh.

Referenced by MOD_lineart_compute_feature_lines_v3().

◆ shadow_elns

ListBase LineartCache::shadow_elns

Shadow-computed feature lines from original meshes to be matched with the second load of meshes thus providing lit/shade info in the second run of line art.

Definition at line 448 of file MOD_lineart.hh.

Referenced by MOD_lineart_compute_feature_lines_v3().


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