Blender V5.3
BKE_linestyle.h File Reference

Blender kernel freestyle line style functionality. More...

#include <optional>
#include <string>
#include "DNA_linestyle_types.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define LS_MODIFIER_TYPE_COLOR   1
#define LS_MODIFIER_TYPE_ALPHA   2
#define LS_MODIFIER_TYPE_THICKNESS   3
#define LS_MODIFIER_TYPE_GEOMETRY   4

Functions

void blender::BKE_linestyle_init (struct FreestyleLineStyle *linestyle)
FreestyleLineStyle * blender::BKE_linestyle_new (struct Main *bmain, const char *name)
FreestyleLineStyle * blender::BKE_linestyle_active_from_view_layer (struct ViewLayer *view_layer)
LineStyleModifier * blender::BKE_linestyle_color_modifier_add (FreestyleLineStyle *linestyle, const char *name, eLineStyleModifier_Type type)
LineStyleModifier * blender::BKE_linestyle_alpha_modifier_add (FreestyleLineStyle *linestyle, const char *name, eLineStyleModifier_Type type)
LineStyleModifier * blender::BKE_linestyle_thickness_modifier_add (FreestyleLineStyle *linestyle, const char *name, eLineStyleModifier_Type type)
LineStyleModifier * blender::BKE_linestyle_geometry_modifier_add (FreestyleLineStyle *linestyle, const char *name, eLineStyleModifier_Type type)
LineStyleModifier * blender::BKE_linestyle_color_modifier_copy (FreestyleLineStyle *linestyle, const LineStyleModifier *m, int flag)
LineStyleModifier * blender::BKE_linestyle_alpha_modifier_copy (FreestyleLineStyle *linestyle, const LineStyleModifier *m, int flag)
LineStyleModifier * blender::BKE_linestyle_thickness_modifier_copy (FreestyleLineStyle *linestyle, const LineStyleModifier *m, int flag)
LineStyleModifier * blender::BKE_linestyle_geometry_modifier_copy (FreestyleLineStyle *linestyle, const LineStyleModifier *m, int flag)
int blender::BKE_linestyle_color_modifier_remove (FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
int blender::BKE_linestyle_alpha_modifier_remove (FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
int blender::BKE_linestyle_thickness_modifier_remove (FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
int blender::BKE_linestyle_geometry_modifier_remove (FreestyleLineStyle *linestyle, LineStyleModifier *modifier)
bool blender::BKE_linestyle_color_modifier_move (FreestyleLineStyle *linestyle, LineStyleModifier *modifier, int direction)
bool blender::BKE_linestyle_alpha_modifier_move (FreestyleLineStyle *linestyle, LineStyleModifier *modifier, int direction)
bool blender::BKE_linestyle_thickness_modifier_move (FreestyleLineStyle *linestyle, LineStyleModifier *modifier, int direction)
bool blender::BKE_linestyle_geometry_modifier_move (FreestyleLineStyle *linestyle, LineStyleModifier *modifier, int direction)
void blender::BKE_linestyle_modifier_list_color_ramps (FreestyleLineStyle *linestyle, ListBaseT< LinkData > *listbase)
std::optional< std::string > blender::BKE_linestyle_path_to_color_ramp (FreestyleLineStyle *linestyle, const struct ColorBand *color_ramp)
bool blender::BKE_linestyle_use_textures (FreestyleLineStyle *linestyle, bool use_shading_nodes)
void blender::BKE_linestyle_default_shader (const struct bContext *C, FreestyleLineStyle *linestyle)

Detailed Description

Blender kernel freestyle line style functionality.

Definition in file BKE_linestyle.h.

Macro Definition Documentation

◆ LS_MODIFIER_TYPE_ALPHA

#define LS_MODIFIER_TYPE_ALPHA   2

Definition at line 20 of file BKE_linestyle.h.

◆ LS_MODIFIER_TYPE_COLOR

#define LS_MODIFIER_TYPE_COLOR   1

Definition at line 19 of file BKE_linestyle.h.

◆ LS_MODIFIER_TYPE_GEOMETRY

#define LS_MODIFIER_TYPE_GEOMETRY   4

Definition at line 22 of file BKE_linestyle.h.

◆ LS_MODIFIER_TYPE_THICKNESS

#define LS_MODIFIER_TYPE_THICKNESS   3

Definition at line 21 of file BKE_linestyle.h.