Blender  V3.3
Public Attributes | List of all members
LineartTriangleThread Struct Reference

#include <MOD_lineart.h>

Public Attributes

struct LineartTriangle base
 
struct LineartEdgetesting_e [1]
 

Detailed Description

Definition at line 58 of file MOD_lineart.h.

Member Data Documentation

◆ base

struct LineartTriangle LineartTriangleThread::base

Definition at line 55 of file MOD_lineart.h.

Referenced by lineart_occlusion_single_line(), and lineart_shadow_cast().

◆ testing_e

struct LineartEdge* 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 68 of file MOD_lineart.h.

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


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