diff options
Diffstat (limited to 'source/blender/freestyle/FRS_freestyle.h')
-rw-r--r-- | source/blender/freestyle/FRS_freestyle.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/source/blender/freestyle/FRS_freestyle.h b/source/blender/freestyle/FRS_freestyle.h new file mode 100644 index 00000000000..cd07d2dfc11 --- /dev/null +++ b/source/blender/freestyle/FRS_freestyle.h @@ -0,0 +1,38 @@ +#ifndef FRS_FREESTYLE_H +#define FRS_FREESTYLE_H + +#ifdef __cplusplus +extern "C" { +#endif + + #include "DNA_listBase.h" + #include "DNA_scene_types.h" + + #include "BKE_context.h" + + extern Scene *freestyle_scene; + extern float freestyle_viewpoint[3]; + extern float freestyle_mv[4][4]; + extern float freestyle_proj[4][4]; + extern int freestyle_viewport[4]; + + // Rendering + void FRS_initialize(); + void FRS_set_context(bContext* C); + int FRS_is_freestyle_enabled(struct SceneRenderLayer* srl); + void FRS_init_stroke_rendering(struct Render* re); + struct Render* FRS_do_stroke_rendering(struct Render* re, struct SceneRenderLayer* srl); + void FRS_composite_result(struct Render* re, struct SceneRenderLayer* srl, struct Render* freestyle_render); + void FRS_exit(); + + // Panel configuration + void FRS_add_module(FreestyleConfig *config); + void FRS_delete_module(FreestyleConfig *config, FreestyleModuleConfig *module_conf); + void FRS_move_up_module(FreestyleConfig *config, FreestyleModuleConfig *module_conf); + void FRS_move_down_module(FreestyleConfig *config, FreestyleModuleConfig *module_conf); + +#ifdef __cplusplus +} +#endif + +#endif |