Blender V5.3
blender::LineartTriangleThread Struct Reference

#include <MOD_lineart.hh>

Public Attributes

LineartTriangle base
LineartEdge * testing_e [1]

Detailed Description

Definition at line 87 of file MOD_lineart.hh.

Member Data Documentation

◆ base

LineartTriangle blender::LineartTriangleThread::base

◆ testing_e

LineartEdge* blender::LineartTriangleThread::testing_e[1]

This variable is used to store per-thread triangle-line testing pair, also re-used to store triangle-triangle pair for intersection testing stage. Do not directly use LineartTriangleThread. The size of LineartTriangle is dynamically allocated to contain set thread number of "testing_e" field. Worker threads will test lines against the "base" triangle. At least one thread is present, thus we always have at least testing_e[0].

Definition at line 97 of file MOD_lineart.hh.

Referenced by blender::lineart_occlusion_single_line(), blender::lineart_shadow_cast(), and blender::lineart_triangle_intersect_in_bounding_area().


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