Blender  V3.3
Classes | Functions | Variables
FRS_freestyle.h File Reference

Go to the source code of this file.

Classes

struct  FreestyleGlobals
 

Functions

void FRS_init (void)
 
void FRS_set_context (struct bContext *C)
 
int FRS_is_freestyle_enabled (struct ViewLayer *view_layer)
 
void FRS_init_stroke_renderer (struct Render *re)
 
void FRS_begin_stroke_rendering (struct Render *re)
 
void FRS_do_stroke_rendering (struct Render *re, struct ViewLayer *view_layer)
 
void FRS_end_stroke_rendering (struct Render *re)
 
void FRS_free_view_map_cache (void)
 
void FRS_composite_result (struct Render *re, struct ViewLayer *view_layer, struct Render *freestyle_render)
 
void FRS_exit (void)
 
void FRS_copy_active_lineset (struct FreestyleConfig *config)
 
void FRS_paste_active_lineset (struct FreestyleConfig *config)
 
void FRS_delete_active_lineset (struct FreestyleConfig *config)
 
bool FRS_move_active_lineset (struct FreestyleConfig *config, int direction)
 
struct MaterialFRS_create_stroke_material (struct Main *bmain, struct FreestyleLineStyle *linestyle)
 

Variables

struct FreestyleGlobals g_freestyle
 

Function Documentation

◆ FRS_begin_stroke_rendering()

void FRS_begin_stroke_rendering ( struct Render re)

◆ FRS_composite_result()

void FRS_composite_result ( struct Render re,
struct ViewLayer view_layer,
struct Render freestyle_render 
)

◆ FRS_copy_active_lineset()

void FRS_copy_active_lineset ( struct FreestyleConfig config)

◆ FRS_create_stroke_material()

struct Material* FRS_create_stroke_material ( struct Main bmain,
struct FreestyleLineStyle linestyle 
)

◆ FRS_delete_active_lineset()

void FRS_delete_active_lineset ( struct FreestyleConfig config)

◆ FRS_do_stroke_rendering()

void FRS_do_stroke_rendering ( struct Render re,
struct ViewLayer view_layer 
)

◆ FRS_end_stroke_rendering()

void FRS_end_stroke_rendering ( struct Render re)

Definition at line 672 of file FRS_freestyle.cpp.

References Freestyle::Controller::Clear(), and controller.

◆ FRS_exit()

void FRS_exit ( void  )

Definition at line 113 of file FRS_freestyle.cpp.

References controller, pathconfig, and view.

Referenced by RE_FreeAllRender().

◆ FRS_free_view_map_cache()

void FRS_free_view_map_cache ( void  )

◆ FRS_init()

void FRS_init ( void  )

◆ FRS_init_stroke_renderer()

void FRS_init_stroke_renderer ( struct Render re)

◆ FRS_is_freestyle_enabled()

int FRS_is_freestyle_enabled ( struct ViewLayer view_layer)

◆ FRS_move_active_lineset()

bool FRS_move_active_lineset ( struct FreestyleConfig config,
int  direction 
)

Reinsert the active lineset at an offset direction from current position.

Returns
if position of active lineset has changed.

Definition at line 758 of file FRS_freestyle.cpp.

References BKE_freestyle_lineset_get_active(), BLI_listbase_link_move(), and FreestyleConfig::linesets.

◆ FRS_paste_active_lineset()

void FRS_paste_active_lineset ( struct FreestyleConfig config)

◆ FRS_set_context()

void FRS_set_context ( struct bContext C)

Definition at line 105 of file FRS_freestyle.cpp.

References C, controller, CTX_data_scene(), G, G_DEBUG_FREESTYLE, and Freestyle::Controller::setContext().

Referenced by main().

Variable Documentation

◆ g_freestyle

struct FreestyleGlobals g_freestyle
extern