43 "DISTANCE_FROM_CAMERA",
45 "Distance from Camera",
48 "DISTANCE_FROM_OBJECT",
50 "Distance from Object",
63 "DISTANCE_FROM_CAMERA",
65 "Distance from Camera",
68 "DISTANCE_FROM_OBJECT",
70 "Distance from Object",
84 "DISTANCE_FROM_CAMERA",
86 "Distance from Camera",
89 "DISTANCE_FROM_OBJECT",
91 "Distance from Object",
103 "BACKBONE_STRETCHER",
105 "Backbone Stretcher",
116 "SINUS_DISPLACEMENT",
118 "Sinus Displacement",
256 static char *rna_LineStyle_color_modifier_path(
PointerRNA *
ptr)
259 char name_esc[
sizeof(m->
name) * 2];
261 return BLI_sprintfN(
"color_modifiers[\"%s\"]", name_esc);
264 static char *rna_LineStyle_alpha_modifier_path(
PointerRNA *
ptr)
267 char name_esc[
sizeof(m->
name) * 2];
269 return BLI_sprintfN(
"alpha_modifiers[\"%s\"]", name_esc);
272 static char *rna_LineStyle_thickness_modifier_path(
PointerRNA *
ptr)
275 char name_esc[
sizeof(m->
name) * 2];
277 return BLI_sprintfN(
"thickness_modifiers[\"%s\"]", name_esc);
280 static char *rna_LineStyle_geometry_modifier_path(
PointerRNA *
ptr)
283 char name_esc[
sizeof(m->
name) * 2];
285 return BLI_sprintfN(
"geometry_modifiers[\"%s\"]", name_esc);
288 static void rna_LineStyleColorModifier_name_set(
PointerRNA *
ptr,
const char *value)
302 static void rna_LineStyleAlphaModifier_name_set(
PointerRNA *
ptr,
const char *value)
316 static void rna_LineStyleThicknessModifier_name_set(
PointerRNA *
ptr,
const char *value)
330 static void rna_LineStyleGeometryModifier_name_set(
PointerRNA *
ptr,
const char *value)
359 static void rna_LineStyle_active_texture_set(
PointerRNA *
ptr,
483 reports,
RPT_ERROR,
"Thickness modifier '%s' could not be removed", modifier->
name);
538 {
TEXCO_WINDOW,
"WINDOW", 0,
"Window",
"Use screen coordinates as texture coordinates"},
539 {
TEXCO_GLOB,
"GLOBAL", 0,
"Global",
"Use global coordinates for the texture coordinates"},
544 "Use stroke length for texture coordinates"},
549 "Use the original undeformed coordinates of the object"},
554 {
MTEX_FLAT,
"FLAT", 0,
"Flat",
"Map X and Y coordinates directly"},
555 {
MTEX_CUBE,
"CUBE", 0,
"Cube",
"Map using the normal vector"},
556 {
MTEX_TUBE,
"TUBE", 0,
"Tube",
"Map with Z as central axis"},
557 {
MTEX_SPHERE,
"SPHERE", 0,
"Sphere",
"Map with Z as central axis"},
562 {0,
"NONE", 0,
"None",
""},
563 {1,
"X", 0,
"X",
""},
564 {2,
"Y", 0,
"Y",
""},
565 {3,
"Z", 0,
"Z",
""},
570 {0,
"NONE", 0,
"None",
""},
571 {1,
"X", 0,
"X",
""},
572 {2,
"Y", 0,
"Y",
""},
573 {3,
"Z", 0,
"Z",
""},
578 {0,
"NONE", 0,
"None",
""},
579 {1,
"X", 0,
"X",
""},
580 {2,
"Y", 0,
"Y",
""},
581 {3,
"Z", 0,
"Z",
""},
585 srna =
RNA_def_struct(brna,
"LineStyleTextureSlot",
"TextureSlot");
588 srna,
"LineStyle Texture Slot",
"Texture slot for textures in a LineStyle data-block");
628 "Texture Coordinates",
629 "Texture coordinates used to map the texture onto the background");
647 const char *set_name_func,
684 prop,
"Blend",
"Specify how the modifier value is blended into the base value");
691 prop,
"Influence",
"Influence factor by which the modifier changes the property");
709 "rna_LineStyleColorModifier_name_set",
718 "rna_LineStyleAlphaModifier_name_set",
727 "rna_LineStyleThicknessModifier_name_set",
736 "rna_LineStyleGeometryModifier_name_set",
755 prop,
"Range Min",
"Lower bound of the input range the mapping is applied");
761 prop,
"Range Max",
"Upper bound of the input range the mapping is applied");
771 {0,
"LINEAR", 0,
"Linear",
"Use linear mapping"},
797 prop,
"Range Min",
"Lower bound of the input range the mapping is applied");
803 prop,
"Range Max",
"Upper bound of the input range the mapping is applied");
860 "Draw a blueprint using circular contour strokes"},
865 "Draw a blueprint using elliptic contour strokes"},
870 "Draw a blueprint using square contour strokes"},
888 srna =
RNA_def_struct(brna,
"LineStyleColorModifier",
"LineStyleModifier");
893 srna,
"Line Style Color Modifier",
"Base type to define line color modifiers");
895 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_AlongStroke",
"LineStyleColorModifier");
901 brna,
"LineStyleColorModifier_DistanceFromCamera",
"LineStyleColorModifier");
903 srna,
"Distance from Camera",
"Change line color based on the distance from the camera");
908 brna,
"LineStyleColorModifier_DistanceFromObject",
"LineStyleColorModifier");
910 srna,
"Distance from Object",
"Change line color based on the distance from an object");
921 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Material",
"LineStyleColorModifier");
932 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Tangent",
"LineStyleColorModifier");
937 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Noise",
"LineStyleColorModifier");
958 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_CreaseAngle",
"LineStyleColorModifier");
960 srna,
"Crease Angle",
"Change line color based on the underlying crease angle");
974 srna =
RNA_def_struct(brna,
"LineStyleColorModifier_Curvature_3D",
"LineStyleColorModifier");
976 srna,
"Curvature 3D",
"Change line color based on the radial curvature of 3D mesh surfaces");
992 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier",
"LineStyleModifier");
997 srna,
"Line Style Alpha Modifier",
"Base type to define alpha transparency modifiers");
999 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_AlongStroke",
"LineStyleAlphaModifier");
1005 brna,
"LineStyleAlphaModifier_DistanceFromCamera",
"LineStyleAlphaModifier");
1007 "Distance from Camera",
1008 "Change alpha transparency based on the distance from the camera");
1013 brna,
"LineStyleAlphaModifier_DistanceFromObject",
"LineStyleAlphaModifier");
1015 "Distance from Object",
1016 "Change alpha transparency based on the distance from an object");
1027 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Material",
"LineStyleAlphaModifier");
1029 srna,
"Material",
"Change alpha transparency based on a material attribute");
1034 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Tangent",
"LineStyleAlphaModifier");
1036 srna,
"Tangent",
"Alpha transparency based on the direction of the stroke");
1040 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Noise",
"LineStyleAlphaModifier");
1061 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_CreaseAngle",
"LineStyleAlphaModifier");
1063 srna,
"Crease Angle",
"Alpha transparency based on the angle between two adjacent faces");
1077 srna =
RNA_def_struct(brna,
"LineStyleAlphaModifier_Curvature_3D",
"LineStyleAlphaModifier");
1080 "Alpha transparency based on the radial curvature of 3D mesh surfaces");
1097 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier",
"LineStyleModifier");
1102 srna,
"Line Style Thickness Modifier",
"Base type to define line thickness modifiers");
1104 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Tangent",
"LineStyleThicknessModifier");
1122 brna,
"LineStyleThicknessModifier_AlongStroke",
"LineStyleThicknessModifier");
1128 brna,
"LineStyleThicknessModifier_DistanceFromCamera",
"LineStyleThicknessModifier");
1130 srna,
"Distance from Camera",
"Change line thickness based on the distance from the camera");
1135 brna,
"LineStyleThicknessModifier_DistanceFromObject",
"LineStyleThicknessModifier");
1137 srna,
"Distance from Object",
"Change line thickness based on the distance from an object");
1148 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Material",
"LineStyleThicknessModifier");
1155 brna,
"LineStyleThicknessModifier_Calligraphy",
"LineStyleThicknessModifier");
1159 "Change line thickness so that stroke looks like made with a calligraphic pen");
1173 "Minimum thickness in the direction perpendicular to the main direction");
1182 srna =
RNA_def_struct(brna,
"LineStyleThicknessModifier_Noise",
"LineStyleThicknessModifier");
1208 brna,
"LineStyleThicknessModifier_Curvature_3D",
"LineStyleThicknessModifier");
1210 srna,
"Curvature 3D",
"Line thickness based on the radial curvature of 3D mesh surfaces");
1239 brna,
"LineStyleThicknessModifier_CreaseAngle",
"LineStyleThicknessModifier");
1241 srna,
"Crease Angle",
"Line thickness based on the angle between two adjacent faces");
1269 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier",
"LineStyleModifier");
1274 srna,
"Line Style Geometry Modifier",
"Base type to define stroke geometry modifiers");
1276 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_Sampling",
"LineStyleGeometryModifier");
1280 "Specify a new sampling value that determines the resolution of stroke polylines");
1287 prop,
"Sampling",
"New sampling value to be used for subsequent modifiers");
1291 brna,
"LineStyleGeometryModifier_BezierCurve",
"LineStyleGeometryModifier");
1294 "Replace stroke backbone geometry by a Bezier curve approximation of the "
1295 "original backbone geometry");
1302 "Maximum distance allowed between the new Bezier curve and the "
1303 "original backbone geometry");
1307 brna,
"LineStyleGeometryModifier_SinusDisplacement",
"LineStyleGeometryModifier");
1309 srna,
"Sinus Displacement",
"Add sinus displacement to stroke backbone geometry");
1329 brna,
"LineStyleGeometryModifier_SpatialNoise",
"LineStyleGeometryModifier");
1346 prop,
"Octaves",
"Number of octaves (i.e., the amount of detail of the spatial noise)");
1357 prop,
"Pure Random",
"If true, the spatial noise does not show any coherence");
1361 brna,
"LineStyleGeometryModifier_PerlinNoise1D",
"LineStyleGeometryModifier");
1363 srna,
"Perlin Noise 1D",
"Add one-dimensional Perlin noise to stroke backbone geometry");
1379 prop,
"Octaves",
"Number of octaves (i.e., the amount of detail of the Perlin noise)");
1392 "Seed for random number generation (if negative, time is used as a seed instead)");
1396 brna,
"LineStyleGeometryModifier_PerlinNoise2D",
"LineStyleGeometryModifier");
1398 srna,
"Perlin Noise 2D",
"Add two-dimensional Perlin noise to stroke backbone geometry");
1414 prop,
"Octaves",
"Number of octaves (i.e., the amount of detail of the Perlin noise)");
1427 "Seed for random number generation (if negative, time is used as a seed instead)");
1431 brna,
"LineStyleGeometryModifier_BackboneStretcher",
"LineStyleGeometryModifier");
1433 srna,
"Backbone Stretcher",
"Stretch the beginning and the end of stroke backbone");
1441 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_TipRemover",
"LineStyleGeometryModifier");
1445 "Remove a piece of stroke at the beginning and the end of stroke backbone");
1454 brna,
"LineStyleGeometryModifier_Polygonalization",
"LineStyleGeometryModifier");
1456 srna,
"Polygonalization",
"Modify the stroke geometry so that it looks more 'polygonal'");
1464 "Maximum distance between the original stroke and its polygonal approximation");
1468 brna,
"LineStyleGeometryModifier_GuidingLines",
"LineStyleGeometryModifier");
1472 "Modify the stroke geometry so that it corresponds to its main direction line");
1478 prop,
"Offset",
"Displacement that is applied to the main direction line along its normal");
1481 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_Blueprint",
"LineStyleGeometryModifier");
1485 "Produce a blueprint using circular, elliptic, and square contour strokes");
1520 srna =
RNA_def_struct(brna,
"LineStyleGeometryModifier_2DOffset",
"LineStyleGeometryModifier");
1522 srna,
"2D Offset",
"Add two-dimensional offsets to stroke backbone geometry");
1528 prop,
"Start",
"Displacement that is applied from the beginning of the stroke");
1539 prop,
"X",
"Displacement that is applied to the X coordinates of stroke vertices");
1545 prop,
"Y",
"Displacement that is applied to the Y coordinates of stroke vertices");
1549 brna,
"LineStyleGeometryModifier_2DTransform",
"LineStyleGeometryModifier");
1552 "Apply two-dimensional scaling and rotation to stroke backbone geometry");
1582 "Stroke Point Parameter",
1583 "Pivot in terms of the stroke point parameter u (0 <= u <= 1)");
1597 brna,
"LineStyleGeometryModifier_Simplification",
"LineStyleGeometryModifier");
1622 func,
"name",
"ColorModifier", 0,
"",
"New name for the color modifier (not unique)");
1629 "Color modifier type to add");
1632 func,
"modifier",
"LineStyleColorModifier",
"",
"Newly added color modifier");
1635 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_color_modifier_remove");
1639 func,
"modifier",
"LineStyleColorModifier",
"",
"Color modifier to remove");
1659 func,
"name",
"AlphaModifier", 0,
"",
"New name for the alpha modifier (not unique)");
1666 "Alpha modifier type to add");
1669 func,
"modifier",
"LineStyleAlphaModifier",
"",
"Newly added alpha modifier");
1672 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_alpha_modifier_remove");
1676 func,
"modifier",
"LineStyleAlphaModifier",
"",
"Alpha modifier to remove");
1691 srna,
"Thickness Modifiers",
"Thickness modifiers for changing line thickness");
1693 func =
RNA_def_function(srna,
"new",
"rna_LineStyle_thickness_modifier_add");
1698 "ThicknessModifier",
1701 "New name for the thickness modifier (not unique)");
1708 "Thickness modifier type to add");
1711 func,
"modifier",
"LineStyleThicknessModifier",
"",
"Newly added thickness modifier");
1714 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_thickness_modifier_remove");
1718 func,
"modifier",
"LineStyleThicknessModifier",
"",
"Thickness modifier to remove");
1733 srna,
"Geometry Modifiers",
"Geometry modifiers for changing line geometries");
1735 func =
RNA_def_function(srna,
"new",
"rna_LineStyle_geometry_modifier_add");
1739 func,
"name",
"GeometryModifier", 0,
"",
"New name for the geometry modifier (not unique)");
1746 "Geometry modifier type to add");
1749 func,
"modifier",
"LineStyleGeometryModifier",
"",
"Newly added geometry modifier");
1752 func =
RNA_def_function(srna,
"remove",
"rna_LineStyle_geometry_modifier_remove");
1756 func,
"modifier",
"LineStyleGeometryModifier",
"",
"Geometry modifier to remove");
1767 {
LS_PANEL_STROKES,
"STROKES", 0,
"Strokes",
"Show the panel for stroke construction"},
1768 {
LS_PANEL_COLOR,
"COLOR", 0,
"Color",
"Show the panel for line color options"},
1769 {
LS_PANEL_ALPHA,
"ALPHA", 0,
"Alpha",
"Show the panel for alpha transparency options"},
1770 {
LS_PANEL_THICKNESS,
"THICKNESS", 0,
"Thickness",
"Show the panel for line thickness options"},
1771 {
LS_PANEL_GEOMETRY,
"GEOMETRY", 0,
"Geometry",
"Show the panel for stroke geometry options"},
1772 {
LS_PANEL_TEXTURE,
"TEXTURE", 0,
"Texture",
"Show the panel for stroke texture options"},
1774 {
LS_PANEL_MISC,
"MISC", 0,
"Misc",
"Show the panel for miscellaneous options"},
1785 {
LS_CAPS_ROUND,
"ROUND", 0,
"Round",
"Round cap (half-circle)"},
1786 {
LS_CAPS_SQUARE,
"SQUARE", 0,
"Square",
"Square cap (flat and extended)"},
1794 "Silhouettes and border edges are centered along stroke geometry"},
1799 "Silhouettes and border edges are drawn inside of stroke geometry"},
1804 "Silhouettes and border edges are drawn outside of stroke geometry"},
1809 "Silhouettes and border edges are shifted by a user-defined ratio"},
1814 "DISTANCE_FROM_CAMERA",
1816 "Distance from Camera",
1817 "Sort by distance from camera (closer lines lie on top of further lines)"},
1822 "Sort by curvilinear 2D length (longer lines lie on top of shorter lines)"},
1827 "Sort by the projected X value in the image coordinate system"},
1832 "Sort by the projected Y value in the image coordinate system"},
1836 {0,
"DEFAULT", 0,
"Default",
"Default order of the sort key"},
1845 "The value computed for the chain is the mean of the values obtained for chain vertices"},
1850 "The value computed for the chain is the minimum of the values obtained for chain "
1856 "The value computed for the chain is the maximum of the values obtained for chain "
1862 "The value computed for the chain is the value obtained for the first chain vertex"},
1867 "The value computed for the chain is the value obtained for the last chain vertex"},
1873 srna,
"Freestyle Line Style",
"Freestyle line style, reusable by multiple line sets");
1878 "rna_LineStyle_mtex_begin",
1879 "rna_LineStyle_active_texture_get",
1880 "rna_LineStyle_active_texture_set",
1882 "LineStyleTextureSlot",
1883 "LineStyleTextureSlots",
1884 "rna_LineStyle_update",
1885 "rna_LineStyle_update");
1897 prop,
"Color",
"Base line color, possibly modified by line color modifiers");
1905 "Alpha Transparency",
1906 "Base alpha transparency, possibly modified by alpha transparency modifiers");
1913 prop,
"Thickness",
"Base line thickness, possibly modified by line thickness modifiers");
1920 "Thickness Position",
1921 "Thickness position of silhouettes and border edges (applicable when "
1922 "plain chaining is used with the Same Object option)");
1931 "A number between 0 (inside) and 1 (outside) specifying the relative position of "
1932 "stroke thickness");
1968 prop,
"Chaining Method",
"Select the way how feature edges are jointed to form chains");
1980 prop,
"Same Object",
"If true, only feature edges of the same object are joined");
1986 prop,
"Use Split Length",
"Enable chain splitting by curvilinear 2D length");
1999 "Split chains at points with angles smaller than the minimum 2D angle");
2012 "Split chains at points with angles larger than the maximum 2D angle");
2024 prop,
"Use Min 2D Length",
"Enable the selection of chains by a minimum 2D length");
2031 prop,
"Min 2D Length",
"Minimum curvilinear 2D length for the selection of chains");
2037 prop,
"Use Max 2D Length",
"Enable the selection of chains by a maximum 2D length");
2044 prop,
"Max 2D Length",
"Maximum curvilinear 2D length for the selection of chains");
2060 prop,
"Use Split Pattern",
"Enable chain splitting by dashed line patterns");
2102 "Material Boundary",
2103 "If true, chains of feature edges are split at material boundaries");
2115 prop,
"Sort Key",
"Select the sort key to determine the stacking order of chains");
2128 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_report(ReportList *reports, ReportType type, const char *message)
void BKE_reportf(ReportList *reports, ReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
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, const size_t dst_maxncpy) ATTR_NONNULL()
char * BLI_strncpy_utf8(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
bool BLI_uniquename(struct ListBase *list, void *vlink, const char *defname, char delim, int name_offset, size_t 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
StructRNA RNA_LineStyleThicknessModifier_CreaseAngle
StructRNA RNA_LineStyleGeometryModifier_SinusDisplacement
StructRNA RNA_LineStyleGeometryModifier_BezierCurve
StructRNA RNA_LineStyleColorModifier
StructRNA RNA_LineStyleColorModifier_Tangent
StructRNA RNA_LineStyleGeometryModifier_Polygonalization
StructRNA RNA_LineStyleAlphaModifier_AlongStroke
StructRNA RNA_LineStyleColorModifier_CreaseAngle
StructRNA RNA_LineStyleThicknessModifier_Calligraphy
#define RNA_POINTER_INVALIDATE(ptr)
StructRNA RNA_LineStyleThicknessModifier_DistanceFromCamera
StructRNA RNA_LineStyleGeometryModifier_Sampling
StructRNA RNA_LineStyleAlphaModifier_Noise
StructRNA RNA_LineStyleAlphaModifier_Curvature_3D
StructRNA RNA_LineStyleGeometryModifier_PerlinNoise2D
StructRNA RNA_LineStyleGeometryModifier_2DOffset
StructRNA RNA_LineStyleThicknessModifier_Noise
StructRNA RNA_LineStyleColorModifier_AlongStroke
StructRNA RNA_LineStyleThicknessModifier_DistanceFromObject
StructRNA RNA_LineStyleThicknessModifier_Curvature_3D
StructRNA RNA_LineStyleGeometryModifier_BackboneStretcher
StructRNA RNA_LineStyleGeometryModifier_SpatialNoise
StructRNA RNA_LineStyleAlphaModifier_CreaseAngle
StructRNA RNA_LineStyleGeometryModifier_PerlinNoise1D
StructRNA RNA_LineStyleAlphaModifier_Material
StructRNA RNA_LineStyleThicknessModifier
StructRNA RNA_LineStyleGeometryModifier_TipRemover
StructRNA RNA_LineStyleAlphaModifier_DistanceFromCamera
StructRNA RNA_LineStyleGeometryModifier_GuidingLines
StructRNA RNA_LineStyleAlphaModifier
StructRNA RNA_LineStyleColorModifier_Noise
StructRNA RNA_LineStyleColorModifier_DistanceFromCamera
StructRNA RNA_LineStyleAlphaModifier_Tangent
StructRNA RNA_LineStyleColorModifier_DistanceFromObject
StructRNA RNA_LineStyleGeometryModifier_Simplification
StructRNA RNA_LineStyleColorModifier_Curvature_3D
StructRNA RNA_LineStyleGeometryModifier_2DTransform
StructRNA RNA_LineStyleGeometryModifier_Blueprint
StructRNA RNA_LineStyleAlphaModifier_DistanceFromObject
StructRNA RNA_LineStyleThicknessModifier_Material
StructRNA RNA_LineStyleColorModifier_Material
StructRNA RNA_LineStyleGeometryModifier
StructRNA RNA_LineStyleThicknessModifier_Tangent
StructRNA RNA_LineStyleThicknessModifier_AlongStroke
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_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)