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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-07-24 01:50:40 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-07-24 01:50:40 +0400
commit366a64959c5950c2fd29f3b1fe74adbd9f420988 (patch)
treea3ca649622cea57340b639e69b6195072ec936c5 /source/blender/render/extern/include/RE_pipeline.h
parent1ee8038e41f2daf3aaac40e58d7cdc416d2af35d (diff)
2.5: Render/Game Engine
An engine to use for output can now be selected an influences what shows in the buttons window, only showing relevant data. The idea behind this is to make it more clear what is supported where, make the system more pluggable for external render/game engines, and save space hiding stuff that is not relevant anyway. * Top header now has an engine menu, to choose between the blender render engine, game engine, and other future external engines. * If the game engine is enabled, the buttons window should show only properties that work in the game engine, and similarly for the render engine. * Moved panels from the logic space and game tabs to the physics, scene and world tabs instead, and removed the game tab. * Materials and textures tabs should eventually become game specific too, to better show what is supported.
Diffstat (limited to 'source/blender/render/extern/include/RE_pipeline.h')
-rw-r--r--source/blender/render/extern/include/RE_pipeline.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/render/extern/include/RE_pipeline.h b/source/blender/render/extern/include/RE_pipeline.h
index 643a381c54f..d96054f5a76 100644
--- a/source/blender/render/extern/include/RE_pipeline.h
+++ b/source/blender/render/extern/include/RE_pipeline.h
@@ -240,6 +240,8 @@ struct Scene *RE_GetScene(struct Render *re);
/* External Engine */
+#define RE_INTERNAL 1
+#define RE_GAME 2
extern ListBase R_engines;
@@ -249,6 +251,7 @@ typedef struct RenderEngineType {
/* type info */
char idname[32];
char name[32];
+ int flag;
void (*render)(struct RenderEngine *engine, struct Scene *scene);
@@ -269,7 +272,8 @@ void RE_engine_end_result(RenderEngine *engine, struct RenderResult *result);
int RE_engine_test_break(RenderEngine *engine);
void RE_engine_update_stats(RenderEngine *engine, char *stats, char *info);
-void RE_engines_free(void);
+void RE_engines_init(void);
+void RE_engines_exit(void);
#endif /* RE_PIPELINE_H */