blob: cd07d2dfc11776b23a106a3a5b93eb01d5159b36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
|