|
Blender V5.0
|
#include <BKE_grease_pencil.hh>
Public Attributes | |
| SharedCache< Vector< int > > | triangle_offsets_cache |
| SharedCache< Vector< int3 > > | triangles_cache |
| SharedCache< Vector< float3 > > | curve_plane_normals_cache |
| SharedCache< Vector< float4x2 > > | curve_texture_matrices |
| std::atomic< int > | user_count = 1 |
| bool | fake_user = false |
Definition at line 51 of file BKE_grease_pencil.hh.
|
mutable |
Normal vector cache for every stroke. Computed using Newell's method.
Definition at line 65 of file BKE_grease_pencil.hh.
|
mutable |
Definition at line 71 of file BKE_grease_pencil.hh.
|
mutable |
Ensures that the drawing is not deleted and can be used temporarily (e.g. by the transform code).
Definition at line 84 of file BKE_grease_pencil.hh.
|
mutable |
Triangle offset cache for all the strokes in the drawing.
Definition at line 56 of file BKE_grease_pencil.hh.
|
mutable |
Triangle cache for all the strokes in the drawing.
Definition at line 60 of file BKE_grease_pencil.hh.
|
mutable |
Number of users for this drawing. The users are the frames in the Grease Pencil layers. Different frames can refer to the same drawing, so we need to make sure we count these users and remove a drawing if it has zero users.
Definition at line 78 of file BKE_grease_pencil.hh.