Welcome to mirror list, hosted at ThFree Co, Russian Federation.

FRS_freestyle.h « freestyle « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3d8e785ce995b7a48032215082b428cb6bcb6996 (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
#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);
	void FRS_add_Freestyle( struct Render* re);
	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