Blender V5.3
blender::bke::greasepencil::TriangleCache Struct Reference

#include <BKE_grease_pencil.hh>

Public Attributes

Vector< int3 > triangles
Vector< int > triangle_offsets
Vector< float3 > intersection_points
Vector< int > intersection_point_offsets

Detailed Description

Definition at line 83 of file BKE_grease_pencil.hh.

Member Data Documentation

◆ intersection_point_offsets

◆ intersection_points

◆ triangle_offsets

◆ triangles

Vector<int3> blender::bke::greasepencil::TriangleCache::triangles

A cache of all the triangles (used to render fills) in this drawing.

All triangles are stored sequentially in triangles as triplet of point indices. For each fill (in FillCache) there's a group of triangles. The ranges are stored using triangle_offsets.

Examples
/usr/src/RPM/BUILD/blender5.3-5.3.0/source/blender/blenkernel/BKE_grease_pencil.hh.

Definition at line 90 of file BKE_grease_pencil.hh.

Referenced by blender::bke::greasepencil::ensure_triangle_cache(), blender::bke::greasepencil::Drawing::tag_positions_changed(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and blender::bke::greasepencil::Drawing::triangles().


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