Changeset View
Changeset View
Standalone View
Standalone View
source/blender/render/extern/include/RE_engine.h
| Show All 30 Lines | |||||
| #ifndef __RE_ENGINE_H__ | #ifndef __RE_ENGINE_H__ | ||||
| #define __RE_ENGINE_H__ | #define __RE_ENGINE_H__ | ||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #include "DNA_scene_types.h" | #include "DNA_scene_types.h" | ||||
| #include "RNA_types.h" | #include "RNA_types.h" | ||||
| #include "RE_bake.h" | #include "RE_bake.h" | ||||
| #include "BLI_ghash.h" | |||||
| struct bNode; | struct bNode; | ||||
| struct bNodeTree; | struct bNodeTree; | ||||
| struct IDProperty; | struct IDProperty; | ||||
| struct Main; | struct Main; | ||||
| struct Object; | struct Object; | ||||
| struct Render; | struct Render; | ||||
| struct RenderData; | struct RenderData; | ||||
| ▲ Show 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | typedef struct RenderEngineType { | ||||
| void (*view_update)(struct RenderEngine *engine, const struct bContext *context); | void (*view_update)(struct RenderEngine *engine, const struct bContext *context); | ||||
| void (*view_draw)(struct RenderEngine *engine, const struct bContext *context); | void (*view_draw)(struct RenderEngine *engine, const struct bContext *context); | ||||
| void (*update_script_node)(struct RenderEngine *engine, struct bNodeTree *ntree, struct bNode *node); | void (*update_script_node)(struct RenderEngine *engine, struct bNodeTree *ntree, struct bNode *node); | ||||
| void (*collection_settings_create)(struct RenderEngine *engine, struct IDProperty *props); | void (*collection_settings_create)(struct RenderEngine *engine, struct IDProperty *props); | ||||
| void (*gpu_library)(struct RenderEngineType *engine_type, char **ret); | |||||
| char *gpu_lib_text; | |||||
| GHash *gpu_lib; | |||||
| struct DrawEngineType *draw_engine; | struct DrawEngineType *draw_engine; | ||||
| /* RNA integration */ | /* RNA integration */ | ||||
| ExtensionRNA ext; | ExtensionRNA ext; | ||||
| } RenderEngineType; | } RenderEngineType; | ||||
| typedef struct RenderEngine { | typedef struct RenderEngine { | ||||
| RenderEngineType *type; | RenderEngineType *type; | ||||
| ▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines | |||||