29 "DISTANCE_FROM_CAMERA",
31 "Distance from Camera",
34 "DISTANCE_FROM_OBJECT",
36 "Distance from Object",
49 "DISTANCE_FROM_CAMERA",
51 "Distance from Camera",
54 "DISTANCE_FROM_OBJECT",
56 "Distance from Object",
70 "DISTANCE_FROM_CAMERA",
72 "Distance from Camera",
75 "DISTANCE_FROM_OBJECT",
77 "Distance from Object",
102 "SINUS_DISPLACEMENT",
104 "Sinus Displacement",
130 return &RNA_LineStyleColorModifier_AlongStroke;
132 return &RNA_LineStyleColorModifier_DistanceFromCamera;
134 return &RNA_LineStyleColorModifier_DistanceFromObject;
136 return &RNA_LineStyleColorModifier_Material;
138 return &RNA_LineStyleColorModifier_Tangent;
140 return &RNA_LineStyleColorModifier_Noise;
142 return &RNA_LineStyleColorModifier_CreaseAngle;
144 return &RNA_LineStyleColorModifier_Curvature_3D;
146 return &RNA_LineStyleColorModifier;
156 return &RNA_LineStyleAlphaModifier_AlongStroke;
158 return &RNA_LineStyleAlphaModifier_DistanceFromCamera;
160 return &RNA_LineStyleAlphaModifier_DistanceFromObject;
162 return &RNA_LineStyleAlphaModifier_Material;
164 return &RNA_LineStyleAlphaModifier_Tangent;
166 return &RNA_LineStyleAlphaModifier_Noise;
168 return &RNA_LineStyleAlphaModifier_CreaseAngle;
170 return &RNA_LineStyleAlphaModifier_Curvature_3D;
172 return &RNA_LineStyleAlphaModifier;
182 return &RNA_LineStyleThicknessModifier_AlongStroke;
184 return &RNA_LineStyleThicknessModifier_DistanceFromCamera;
186 return &RNA_LineStyleThicknessModifier_DistanceFromObject;
188 return &RNA_LineStyleThicknessModifier_Material;
190 return &RNA_LineStyleThicknessModifier_Calligraphy;
192 return &RNA_LineStyleThicknessModifier_Tangent;
194 return &RNA_LineStyleThicknessModifier_Noise;
196 return &RNA_LineStyleThicknessModifier_CreaseAngle;
198 return &RNA_LineStyleThicknessModifier_Curvature_3D;
200 return &RNA_LineStyleThicknessModifier;
210 return &RNA_LineStyleGeometryModifier_Sampling;
212 return &RNA_LineStyleGeometryModifier_BezierCurve;
214 return &RNA_LineStyleGeometryModifier_SinusDisplacement;
216 return &RNA_LineStyleGeometryModifier_SpatialNoise;
218 return &RNA_LineStyleGeometryModifier_PerlinNoise1D;
220 return &RNA_LineStyleGeometryModifier_PerlinNoise2D;
222 return &RNA_LineStyleGeometryModifier_BackboneStretcher;
224 return &RNA_LineStyleGeometryModifier_TipRemover;
226 return &RNA_LineStyleGeometryModifier_Polygonalization;
228 return &RNA_LineStyleGeometryModifier_GuidingLines;
230 return &RNA_LineStyleGeometryModifier_Blueprint;
232 return &RNA_LineStyleGeometryModifier_2DOffset;
234 return &RNA_LineStyleGeometryModifier_2DTransform;
236 return &RNA_LineStyleGeometryModifier_Simplification;
238 return &RNA_LineStyleGeometryModifier;
242 static char *rna_LineStyle_color_modifier_path(
const PointerRNA *
ptr)
245 char name_esc[
sizeof(m->
name) * 2];
247 return BLI_sprintfN(
"color_modifiers[\"%s\"]", name_esc);
250 static char *rna_LineStyle_alpha_modifier_path(
const PointerRNA *
ptr)
253 char name_esc[
sizeof(m->
name) * 2];
255 return BLI_sprintfN(
"alpha_modifiers[\"%s\"]", name_esc);
258 static char *rna_LineStyle_thickness_modifier_path(
const PointerRNA *
ptr)
261 char name_esc[
sizeof(m->
name) * 2];
263 return BLI_sprintfN(
"thickness_modifiers[\"%s\"]", name_esc);
266 static char *rna_LineStyle_geometry_modifier_path(
const PointerRNA *
ptr)
269 char name_esc[
sizeof(m->
name) * 2];
271 return BLI_sprintfN(
"geometry_modifiers[\"%s\"]", name_esc);
274 static void rna_LineStyleColorModifier_name_set(
PointerRNA *
ptr,
const char *value)
288 static void rna_LineStyleAlphaModifier_name_set(
PointerRNA *
ptr,
const char *value)
302 static void rna_LineStyleThicknessModifier_name_set(
PointerRNA *
ptr,
const char *value)
316 static void rna_LineStyleGeometryModifier_name_set(
PointerRNA *
ptr,
const char *value)
345 static void rna_LineStyle_active_texture_set(
PointerRNA *
ptr,
469 reports,
RPT_ERROR,
"Thickness modifier '%s' could not be removed", modifier->
name);
524 {
TEXCO_WINDOW,
"WINDOW", 0,
"Window",
"Use screen coordinates as texture coordinates"},
525 {
TEXCO_GLOB,
"GLOBAL", 0,
"Global",
"Use global coordinates for the texture coordinates"},
530 "Use stroke length for texture coordinates"},
535 "Use the original undeformed coordinates of the object"},
540 {
MTEX_FLAT,
"FLAT", 0,
"Flat",
"Map X and Y coordinates directly"},
541 {
MTEX_CUBE,
"CUBE", 0,
"Cube",
"Map using the normal vector"},
542 {
MTEX_TUBE,
"TUBE", 0,
"Tube",
"Map with Z as central axis"},
543 {
MTEX_SPHERE,
"SPHERE", 0,
"Sphere",
"Map with Z as central axis"},
548 {0,
"NONE", 0,
"None",
""},
549 {1,
"X", 0,
"X",
""},
550 {2,
"Y", 0,
"Y",
""},
551 {3,
"Z", 0,
"Z",
""},
556 {0,
"NONE", 0,
"None",
""},
557 {1,
"X", 0,
"X",
""},
558 {2,
"Y", 0,
"Y",
""},
559 {3,
"Z", 0,
"Z",
""},
564 {0,
"NONE", 0,
"None",
""},
565 {1,
"X", 0,
"X",
""},
566 {2,
"Y", 0,
"Y",
""},
567 {3,
"Z", 0,
"Z",
""},
571 srna =
RNA_def_struct(brna,
"LineStyleTextureSlot",
"TextureSlot");
574 srna,
"LineStyle Texture Slot",
"Texture slot for textures in a LineStyle data-block");
614 "Texture Coordinates",
615 "Texture coordinates used to map the texture onto the background");
633 const char *set_name_func,
670 prop,
"Blend",
"Specify how the modifier value is blended into the base value");
677 prop,
"Influence",
"Influence factor by which the modifier changes the property");
695 "rna_LineStyleColorModifier_name_set",
704 "rna_LineStyleAlphaModifier_name_set",
713 "rna_LineStyleThicknessModifier_name_set",
722 "rna_LineStyleGeometryModifier_name_set",
741 prop,
"Range Min",
"Lower bound of the input range the mapping is applied");
747 prop,
"Range Max",
"Upper bound of the input range the mapping is applied");
757 {0,
"LINEAR", 0,
"Linear",
"Use linear mapping"},
783 prop,
"Range Min",
"Lower bound of the input range the mapping is applied");
789 prop,
"Range Max",
"Upper bound of the input range the mapping is applied");
846 "Draw a blueprint using circular contour strokes"},
851 "Draw a blueprint using elliptic contour strokes"},
856 "Draw a blueprint using square contour strokes"},
874 srna =
RNA_def_struct(brna,
"LineStyleColorModifier",
"LineStyleModifier");
879 srna,
"Line Style Color Modifier",
"Base type to define line color modifiers");
881 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_AlongStroke",
"LineStyleColorModifier");
887 brna,
"LineStyleColorModifier_DistanceFromCamera",
"LineStyleColorModifier");
889 srna,
"Distance from Camera",
"Change line color based on the distance from the camera");
894 brna,
"LineStyleColorModifier_DistanceFromObject",
"LineStyleColorModifier");
896 srna,
"Distance from Object",
"Change line color based on the distance from an object");
907 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Material",
"LineStyleColorModifier");
918 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Tangent",
"LineStyleColorModifier");
923 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Noise",
"LineStyleColorModifier");
944 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_CreaseAngle",
"LineStyleColorModifier");
946 srna,
"Crease Angle",
"Change line color based on the underlying crease angle");
960 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Curvature_3D",
"LineStyleColorModifier");
962 srna,
"Curvature 3D",
"Change line color based on the radial curvature of 3D mesh surfaces");
978 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier",
"LineStyleModifier");
983 srna,
"Line Style Alpha Modifier",
"Base type to define alpha transparency modifiers");
985 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_AlongStroke",
"LineStyleAlphaModifier");
991 brna,
"LineStyleAlphaModifier_DistanceFromCamera",
"LineStyleAlphaModifier");
993 "Distance from Camera",
994 "Change alpha transparency based on the distance from the camera");
999 brna,
"LineStyleAlphaModifier_DistanceFromObject",
"LineStyleAlphaModifier");
1001 "Distance from Object",
1002 "Change alpha transparency based on the distance from an object");
1013 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Material",
"LineStyleAlphaModifier");
1015 srna,
"Material",
"Change alpha transparency based on a material attribute");
1020 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Tangent",
"LineStyleAlphaModifier");
1022 srna,
"Tangent",
"Alpha transparency based on the direction of the stroke");
1026 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Noise",
"LineStyleAlphaModifier");
1047 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_CreaseAngle",
"LineStyleAlphaModifier");
1049 srna,
"Crease Angle",
"Alpha transparency based on the angle between two adjacent faces");
1063 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Curvature_3D",
"LineStyleAlphaModifier");
1066 "Alpha transparency based on the radial curvature of 3D mesh surfaces");
1083 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier",
"LineStyleModifier");
1088 srna,
"Line Style Thickness Modifier",
"Base type to define line thickness modifiers");
1090 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Tangent",
"LineStyleThicknessModifier");
1108 brna,
"LineStyleThicknessModifier_AlongStroke",
"LineStyleThicknessModifier");
1114 brna,
"LineStyleThicknessModifier_DistanceFromCamera",
"LineStyleThicknessModifier");
1116 srna,
"Distance from Camera",
"Change line thickness based on the distance from the camera");
1121 brna,
"LineStyleThicknessModifier_DistanceFromObject",
"LineStyleThicknessModifier");
1123 srna,
"Distance from Object",
"Change line thickness based on the distance from an object");
1134 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Material",
"LineStyleThicknessModifier");
1141 brna,
"LineStyleThicknessModifier_Calligraphy",
"LineStyleThicknessModifier");
1145 "Change line thickness so that stroke looks like made with a calligraphic pen");
1159 "Minimum thickness in the direction perpendicular to the main direction");
1168 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Noise",
"LineStyleThicknessModifier");
1194 brna,
"LineStyleThicknessModifier_Curvature_3D",
"LineStyleThicknessModifier");
1196 srna,
"Curvature 3D",
"Line thickness based on the radial curvature of 3D mesh surfaces");
1225 brna,
"LineStyleThicknessModifier_CreaseAngle",
"LineStyleThicknessModifier");
1227 srna,
"Crease Angle",
"Line thickness based on the angle between two adjacent faces");
1255 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier",
"LineStyleModifier");
1260 srna,
"Line Style Geometry Modifier",
"Base type to define stroke geometry modifiers");
1262 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_Sampling",
"LineStyleGeometryModifier");
1266 "Specify a new sampling value that determines the resolution of stroke polylines");
1273 prop,
"Sampling",
"New sampling value to be used for subsequent modifiers");
1277 brna,
"LineStyleGeometryModifier_BezierCurve",
"LineStyleGeometryModifier");
1280 "Replace stroke backbone geometry by a Bezier curve approximation of the "
1281 "original backbone geometry");
1288 "Maximum distance allowed between the new Bezier curve and the "
1289 "original backbone geometry");
1293 brna,
"LineStyleGeometryModifier_SinusDisplacement",
"LineStyleGeometryModifier");
1295 srna,
"Sinus Displacement",
"Add sinus displacement to stroke backbone geometry");
1315 brna,
"LineStyleGeometryModifier_SpatialNoise",
"LineStyleGeometryModifier");
1332 prop,
"Octaves",
"Number of octaves (i.e., the amount of detail of the spatial noise)");
1343 prop,
"Pure Random",
"If true, the spatial noise does not show any coherence");
1347 brna,
"LineStyleGeometryModifier_PerlinNoise1D",
"LineStyleGeometryModifier");
1349 srna,
"Perlin Noise 1D",
"Add one-dimensional Perlin noise to stroke backbone geometry");
1365 prop,
"Octaves",
"Number of octaves (i.e., the amount of detail of the Perlin noise)");
1378 "Seed for random number generation (if negative, time is used as a seed instead)");
1382 brna,
"LineStyleGeometryModifier_PerlinNoise2D",
"LineStyleGeometryModifier");
1384 srna,
"Perlin Noise 2D",
"Add two-dimensional Perlin noise to stroke backbone geometry");
1400 prop,
"Octaves",
"Number of octaves (i.e., the amount of detail of the Perlin noise)");
1413 "Seed for random number generation (if negative, time is used as a seed instead)");
1417 brna,
"LineStyleGeometryModifier_BackboneStretcher",
"LineStyleGeometryModifier");
1419 srna,
"Backbone Stretcher",
"Stretch the beginning and the end of stroke backbone");
1427 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_TipRemover",
"LineStyleGeometryModifier");
1431 "Remove a piece of stroke at the beginning and the end of stroke backbone");
1440 brna,
"LineStyleGeometryModifier_Polygonalization",
"LineStyleGeometryModifier");
1442 srna,
"Polygonalization",
"Modify the stroke geometry so that it looks more 'polygonal'");
1450 "Maximum distance between the original stroke and its polygonal approximation");
1454 brna,
"LineStyleGeometryModifier_GuidingLines",
"LineStyleGeometryModifier");
1458 "Modify the stroke geometry so that it corresponds to its main direction line");
1464 prop,
"Offset",
"Displacement that is applied to the main direction line along its normal");
1467 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_Blueprint",
"LineStyleGeometryModifier");
1471 "Produce a blueprint using circular, elliptic, and square contour strokes");
1506 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_2DOffset",
"LineStyleGeometryModifier");
1508 srna,
"2D Offset",
"Add two-dimensional offsets to stroke backbone geometry");
1514 prop,
"Start",
"Displacement that is applied from the beginning of the stroke");
1525 prop,
"X",
"Displacement that is applied to the X coordinates of stroke vertices");
1531 prop,
"Y",
"Displacement that is applied to the Y coordinates of stroke vertices");
1535 brna,
"LineStyleGeometryModifier_2DTransform",
"LineStyleGeometryModifier");
1538 "Apply two-dimensional scaling and rotation to stroke backbone geometry");
1568 "Stroke Point Parameter",
1569 "Pivot in terms of the stroke point parameter u (0 <= u <= 1)");
1583 brna,
"LineStyleGeometryModifier_Simplification",
"LineStyleGeometryModifier");
1608 func,
"name",
"ColorModifier", 0,
"",
"New name for the color modifier (not unique)");
1615 "Color modifier type to add");
1618 func,
"modifier",
"LineStyleColorModifier",
"",
"Newly added color modifier");
1621 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_color_modifier_remove");
1625 func,
"modifier",
"LineStyleColorModifier",
"",
"Color modifier to remove");
1645 func,
"name",
"AlphaModifier", 0,
"",
"New name for the alpha modifier (not unique)");
1652 "Alpha modifier type to add");
1655 func,
"modifier",
"LineStyleAlphaModifier",
"",
"Newly added alpha modifier");
1658 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_alpha_modifier_remove");
1662 func,
"modifier",
"LineStyleAlphaModifier",
"",
"Alpha modifier to remove");
1677 srna,
"Thickness Modifiers",
"Thickness modifiers for changing line thickness");
1679 func =
RNA_def_function(srna,
"new",
"rna_LineStyle_thickness_modifier_add");
1684 "ThicknessModifier",
1687 "New name for the thickness modifier (not unique)");
1694 "Thickness modifier type to add");
1697 func,
"modifier",
"LineStyleThicknessModifier",
"",
"Newly added thickness modifier");
1700 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_thickness_modifier_remove");
1704 func,
"modifier",
"LineStyleThicknessModifier",
"",
"Thickness modifier to remove");
1719 srna,
"Geometry Modifiers",
"Geometry modifiers for changing line geometries");
1721 func =
RNA_def_function(srna,
"new",
"rna_LineStyle_geometry_modifier_add");
1725 func,
"name",
"GeometryModifier", 0,
"",
"New name for the geometry modifier (not unique)");
1732 "Geometry modifier type to add");
1735 func,
"modifier",
"LineStyleGeometryModifier",
"",
"Newly added geometry modifier");
1738 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_geometry_modifier_remove");
1742 func,
"modifier",
"LineStyleGeometryModifier",
"",
"Geometry modifier to remove");
1753 {
LS_PANEL_STROKES,
"STROKES", 0,
"Strokes",
"Show the panel for stroke construction"},
1754 {
LS_PANEL_COLOR,
"COLOR", 0,
"Color",
"Show the panel for line color options"},
1755 {
LS_PANEL_ALPHA,
"ALPHA", 0,
"Alpha",
"Show the panel for alpha transparency options"},
1756 {
LS_PANEL_THICKNESS,
"THICKNESS", 0,
"Thickness",
"Show the panel for line thickness options"},
1757 {
LS_PANEL_GEOMETRY,
"GEOMETRY", 0,
"Geometry",
"Show the panel for stroke geometry options"},
1758 {
LS_PANEL_TEXTURE,
"TEXTURE", 0,
"Texture",
"Show the panel for stroke texture options"},
1760 {
LS_PANEL_MISC,
"MISC", 0,
"Misc",
"Show the panel for miscellaneous options"},
1771 {
LS_CAPS_ROUND,
"ROUND", 0,
"Round",
"Round cap (half-circle)"},
1772 {
LS_CAPS_SQUARE,
"SQUARE", 0,
"Square",
"Square cap (flat and extended)"},
1780 "Silhouettes and border edges are centered along stroke geometry"},
1785 "Silhouettes and border edges are drawn inside of stroke geometry"},
1790 "Silhouettes and border edges are drawn outside of stroke geometry"},
1795 "Silhouettes and border edges are shifted by a user-defined ratio"},
1800 "DISTANCE_FROM_CAMERA",
1802 "Distance from Camera",
1803 "Sort by distance from camera (closer lines lie on top of further lines)"},
1808 "Sort by curvilinear 2D length (longer lines lie on top of shorter lines)"},
1813 "Sort by the projected X value in the image coordinate system"},
1818 "Sort by the projected Y value in the image coordinate system"},
1822 {0,
"DEFAULT", 0,
"Default",
"Default order of the sort key"},
1831 "The value computed for the chain is the mean of the values obtained for chain vertices"},
1836 "The value computed for the chain is the minimum of the values obtained for chain "
1842 "The value computed for the chain is the maximum of the values obtained for chain "
1848 "The value computed for the chain is the value obtained for the first chain vertex"},
1853 "The value computed for the chain is the value obtained for the last chain vertex"},
1859 srna,
"Freestyle Line Style",
"Freestyle line style, reusable by multiple line sets");
1864 "rna_LineStyle_mtex_begin",
1865 "rna_LineStyle_active_texture_get",
1866 "rna_LineStyle_active_texture_set",
1868 "LineStyleTextureSlot",
1869 "LineStyleTextureSlots",
1870 "rna_LineStyle_update",
1871 "rna_LineStyle_update");
1883 prop,
"Color",
"Base line color, possibly modified by line color modifiers");
1891 "Alpha Transparency",
1892 "Base alpha transparency, possibly modified by alpha transparency modifiers");
1899 prop,
"Thickness",
"Base line thickness, possibly modified by line thickness modifiers");
1906 "Thickness Position",
1907 "Thickness position of silhouettes and border edges (applicable when "
1908 "plain chaining is used with the Same Object option)");
1917 "A number between 0 (inside) and 1 (outside) specifying the relative position of "
1918 "stroke thickness");
1954 prop,
"Chaining Method",
"Select the way how feature edges are jointed to form chains");
1966 prop,
"Same Object",
"If true, only feature edges of the same object are joined");
1972 prop,
"Use Split Length",
"Enable chain splitting by curvilinear 2D length");
1985 "Split chains at points with angles smaller than the minimum 2D angle");
1998 "Split chains at points with angles larger than the maximum 2D angle");
2010 prop,
"Use Min 2D Length",
"Enable the selection of chains by a minimum 2D length");
2017 prop,
"Min 2D Length",
"Minimum curvilinear 2D length for the selection of chains");
2023 prop,
"Use Max 2D Length",
"Enable the selection of chains by a maximum 2D length");
2030 prop,
"Max 2D Length",
"Maximum curvilinear 2D length for the selection of chains");
2046 prop,
"Use Split Pattern",
"Enable chain splitting by dashed line patterns");
2088 "Material Boundary",
2089 "If true, chains of feature edges are split at material boundaries");
2101 prop,
"Sort Key",
"Select the sort key to determine the stacking order of chains");
2114 prop,
"Integration Type",
"Select the way how the sort key is computed for each chain");
struct Scene * CTX_data_scene(const bContext *C)
struct Main * CTX_data_main(const bContext *C)
Blender kernel freestyle line style functionality.
int BKE_linestyle_alpha_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
int BKE_linestyle_color_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
LineStyleModifier * BKE_linestyle_geometry_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
LineStyleModifier * BKE_linestyle_thickness_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
LineStyleModifier * BKE_linestyle_color_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
void BKE_linestyle_default_shader(const struct bContext *C, FreestyleLineStyle *linestyle)
int BKE_linestyle_thickness_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
LineStyleModifier * BKE_linestyle_alpha_modifier_add(FreestyleLineStyle *linestyle, const char *name, int type)
int BKE_linestyle_geometry_modifier_remove(FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
void BKE_report(ReportList *reports, eReportType type, const char *message)
void set_current_linestyle_texture(struct FreestyleLineStyle *linestyle, struct Tex *tex)
struct Tex * give_current_linestyle_texture(struct FreestyleLineStyle *linestyle)
size_t size_t char * BLI_sprintfN(const char *__restrict format,...) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) ATTR_MALLOC ATTR_PRINTF_FORMAT(1
size_t size_t char size_t BLI_str_escape(char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL()
char * BLI_strncpy_utf8(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL(1
bool BLI_uniquename(struct ListBase *list, void *vlink, const char *defname, char delim, int name_offset, size_t name_len)
void DEG_id_tag_update(struct ID *id, int flag)
#define LS_MODIFIER_MATERIAL_DIFF
#define LS_INTEGRATION_FIRST
#define LS_MODIFIER_USE_CURVE
#define LS_MODIFIER_PERLIN_NOISE_1D
#define LS_MODIFIER_BLUEPRINT_ELLIPSES
#define LS_MODIFIER_2D_TRANSFORM_PIVOT_PARAM
#define LS_PANEL_GEOMETRY
#define LS_THICKNESS_ASYMMETRIC
#define LS_MODIFIER_ENABLED
#define LS_PANEL_THICKNESS
#define LS_MODIFIER_MATERIAL_LINE_B
#define LS_MODIFIER_SPATIAL_NOISE_SMOOTH
#define LS_MODIFIER_BLUEPRINT_SQUARES
#define LS_MODIFIER_2D_TRANSFORM_PIVOT_CENTER
#define LS_MODIFIER_TIP_REMOVER
#define LS_MODIFIER_DISTANCE_FROM_CAMERA
#define LS_MODIFIER_2D_TRANSFORM_PIVOT_START
#define LS_MODIFIER_MATERIAL_SPEC_R
#define LS_MODIFIER_MATERIAL_SPEC_B
#define LS_MODIFIER_MATERIAL_SPEC_HARD
#define LS_MODIFIER_SPATIAL_NOISE_PURERANDOM
#define LS_INTEGRATION_MEAN
#define LS_MODIFIER_TANGENT
#define LS_SORT_KEY_2D_LENGTH
#define LS_MODIFIER_CREASE_ANGLE
#define LS_MODIFIER_BACKBONE_STRETCHER
#define LS_THICKNESS_OUTSIDE
#define LS_SORT_KEY_DISTANCE_FROM_CAMERA
#define LS_SORT_KEY_PROJECTED_X
#define LS_MODIFIER_MATERIAL_LINE_A
#define LS_MODIFIER_SAMPLING
#define LS_MODIFIER_2D_OFFSET
#define LS_MODIFIER_DISTANCE_FROM_OBJECT
#define LS_MODIFIER_NOISE
#define LS_MODIFIER_ALONG_STROKE
#define LS_MODIFIER_MATERIAL_SPEC_G
#define LS_MATERIAL_BOUNDARY
#define LS_MODIFIER_POLYGONIZATION
#define LS_MODIFIER_CURVATURE_3D
#define LS_MODIFIER_MATERIAL_DIFF_B
#define LS_MODIFIER_MATERIAL_LINE
#define LS_MODIFIER_CALLIGRAPHY
#define LS_MODIFIER_2D_TRANSFORM_PIVOT_END
#define LS_MODIFIER_BLUEPRINT
#define LS_MODIFIER_MATERIAL_LINE_G
#define LS_INTEGRATION_MAX
#define LS_INTEGRATION_LAST
#define LS_MODIFIER_MATERIAL_DIFF_R
#define LS_MODIFIER_BLUEPRINT_CIRCLES
#define LS_THICKNESS_RELATIVE
#define LS_INTEGRATION_MIN
#define LS_MODIFIER_2D_TRANSFORM
#define LS_MODIFIER_USE_RAMP
#define LS_CHAINING_SKETCHY
#define LS_CHAINING_PLAIN
#define LS_THICKNESS_INSIDE
#define LS_MODIFIER_SPATIAL_NOISE
#define LS_MODIFIER_BEZIER_CURVE
#define LS_MODIFIER_PERLIN_NOISE_2D
#define LS_SORT_KEY_PROJECTED_Y
#define LS_MODIFIER_SIMPLIFICATION
#define LS_MODIFIER_SINUS_DISPLACEMENT
#define LS_THICKNESS_CENTER
#define LS_MODIFIER_INVERT
#define LS_MODIFIER_EXPANDED
#define LS_MODIFIER_MATERIAL_DIFF_G
#define LS_MODIFIER_MATERIAL_ALPHA
#define LS_MODIFIER_2D_TRANSFORM_PIVOT_ABSOLUTE
#define LS_MODIFIER_MATERIAL_LINE_R
#define LS_MODIFIER_MATERIAL
#define LS_MODIFIER_GUIDING_LINES
#define LS_MODIFIER_MATERIAL_SPEC
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a color
#define RNA_POINTER_INVALIDATE(ptr)
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
FreestyleLineStyle linestyle
void rna_iterator_array_begin(CollectionPropertyIterator *iter, void *ptr, int itemsize, int length, bool free_ptr, IteratorSkipFunc skip)
PointerRNA rna_pointer_inherit_refine(PointerRNA *ptr, StructRNA *type, void *data)
void rna_def_animdata_common(StructRNA *srna)
void RNA_def_struct_refine_func(StructRNA *srna, const char *refine)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_path_func(StructRNA *srna, const char *path)
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
void RNA_def_parameter_clear_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier, const char *call)
void RNA_def_property_srna(PropertyRNA *prop, const char *type)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
void RNA_def_property_array(PropertyRNA *prop, int length)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
void RNA_def_function_ui_description(FunctionRNA *func, const char *description)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_name_property(struct StructRNA *srna, struct PropertyRNA *prop)
void RNA_def_function_flag(FunctionRNA *func, int flag)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
PropertyRNA * RNA_def_string(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, int maxlen, const char *ui_name, const char *ui_description)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, int default_value, const char *ui_name, const char *ui_description)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_boolean_negative_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void rna_def_mtex_common(struct BlenderRNA *brna, struct StructRNA *srna, const char *begin, const char *activeget, const char *activeset, const char *activeeditable, const char *structname, const char *structname_slots, const char *update, const char *update_index)
static void rna_def_modifier_color_ramp_common(StructRNA *srna, int range)
static void rna_def_linestyle_mtex(BlenderRNA *brna)
static void rna_def_modifier_material_common(StructRNA *srna)
const EnumPropertyItem rna_enum_linestyle_thickness_modifier_type_items[]
static void rna_def_geometry_modifier(StructRNA *srna)
const EnumPropertyItem rna_enum_linestyle_geometry_modifier_type_items[]
static void rna_def_linestyle_modifiers(BlenderRNA *brna)
void RNA_def_linestyle(BlenderRNA *brna)
static void rna_def_color_modifier(StructRNA *srna)
static void rna_def_freestyle_color_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_freestyle_thickness_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_thickness_modifier(StructRNA *srna)
static void rna_def_modifier_type_common(StructRNA *srna, const EnumPropertyItem *modifier_type_items, const char *set_name_func, const bool blend, const bool color)
static void rna_def_linestyle(BlenderRNA *brna)
static void rna_def_freestyle_alpha_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_alpha_modifier(StructRNA *srna)
const EnumPropertyItem rna_enum_linestyle_color_modifier_type_items[]
static void rna_def_modifier_curve_common(StructRNA *srna, bool range, bool value)
static void rna_def_freestyle_geometry_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
const EnumPropertyItem rna_enum_linestyle_alpha_modifier_type_items[]
const EnumPropertyItem rna_enum_ramp_blend_items[]
ListBase geometry_modifiers
struct bNodeTree * nodetree
ListBase thickness_modifiers
static int blend(const Tex *tex, const float texvec[3], TexResult *texres)
void WM_main_add_notifier(unsigned int type, void *reference)