Blender V5.3
blender::LineartEdgeSegment Struct Reference

#include <MOD_lineart.hh>

Public Attributes

LineartEdgeSegment * next
LineartEdgeSegment * prev
double ratio
uint8_t occlusion
uint8_t material_mask_bits
uint32_t shadow_mask_bits

Detailed Description

Definition at line 123 of file MOD_lineart.hh.

Member Data Documentation

◆ material_mask_bits

uint8_t blender::LineartEdgeSegment::material_mask_bits

Used to filter line art occlusion edges.

Definition at line 134 of file MOD_lineart.hh.

Referenced by blender::lineart_edge_cut(), and blender::MOD_lineart_chain_feature_lines().

◆ next

◆ occlusion

uint8_t blender::LineartEdgeSegment::occlusion

◆ prev

LineartEdgeSegment * blender::LineartEdgeSegment::prev

◆ ratio

double blender::LineartEdgeSegment::ratio

The point after which a property of the segment is changed, e.g. occlusion/material mask etc. ratio==0: v1 ratio==1: v2 (this is in 2D projected space),

Definition at line 129 of file MOD_lineart.hh.

Referenced by blender::lineart_edge_cut(), blender::lineart_register_shadow_cuts(), blender::lineart_shadow_create_shadow_edge_array(), blender::lineart_shadow_register_enclosed_shapes(), blender::lineart_shadow_register_silhouette(), and blender::MOD_lineart_chain_feature_lines().

◆ shadow_mask_bits

uint32_t blender::LineartEdgeSegment::shadow_mask_bits

Lit/shaded flag for shadow is stored here. TODO(Yiming): Transfer material masks from shadow results onto here so then we can even filter transparent shadows.

Definition at line 141 of file MOD_lineart.hh.

Referenced by blender::lineart_edge_cut(), and blender::MOD_lineart_chain_feature_lines().


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