Blender V4.3
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)

Definition at line 595 of file FRS_freestyle.cpp.

◆ FRS_composite_result()

◆ FRS_copy_active_lineset()

◆ 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()

◆ FRS_end_stroke_rendering()

void FRS_end_stroke_rendering ( struct Render * re)

Definition at line 666 of file FRS_freestyle.cpp.

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

◆ FRS_exit()

void FRS_exit ( void )

Definition at line 117 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()

◆ 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 752 of file FRS_freestyle.cpp.

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

◆ FRS_paste_active_lineset()

◆ FRS_set_context()

void FRS_set_context ( struct bContext * C)

Definition at line 109 of file FRS_freestyle.cpp.

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

Referenced by main().

Variable Documentation

◆ g_freestyle