Changeset View
Changeset View
Standalone View
Standalone View
source/blender/render/RE_engine.h
| Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | typedef struct RenderEngineType { | ||||
| /* type info */ | /* type info */ | ||||
| char idname[64]; /* best keep the same size as BKE_ST_MAXNAME. */ | char idname[64]; /* best keep the same size as BKE_ST_MAXNAME. */ | ||||
| char name[64]; | char name[64]; | ||||
| int flag; | int flag; | ||||
| void (*update)(struct RenderEngine *engine, struct Main *bmain, struct Depsgraph *depsgraph); | void (*update)(struct RenderEngine *engine, struct Main *bmain, struct Depsgraph *depsgraph); | ||||
| void (*render)(struct RenderEngine *engine, struct Depsgraph *depsgraph); | void (*render)(struct RenderEngine *engine, struct Depsgraph *depsgraph); | ||||
| void (*draw)(struct RenderEngine *engine, | |||||
| const struct bContext *context, | |||||
| struct Depsgraph *depsgraph); | |||||
| void (*bake)(struct RenderEngine *engine, | void (*bake)(struct RenderEngine *engine, | ||||
| struct Depsgraph *depsgraph, | struct Depsgraph *depsgraph, | ||||
| struct Object *object, | struct Object *object, | ||||
| const int pass_type, | const int pass_type, | ||||
| const int pass_filter, | const int pass_filter, | ||||
| const int width, | const int width, | ||||
| const int height); | const int height); | ||||
| ▲ Show 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | void RE_engine_register_pass(struct RenderEngine *engine, | ||||
| struct ViewLayer *view_layer, | struct ViewLayer *view_layer, | ||||
| const char *name, | const char *name, | ||||
| int channels, | int channels, | ||||
| const char *chanid, | const char *chanid, | ||||
| eNodeSocketDatatype type); | eNodeSocketDatatype type); | ||||
| bool RE_engine_use_persistent_data(struct RenderEngine *engine); | bool RE_engine_use_persistent_data(struct RenderEngine *engine); | ||||
| struct RenderEngine *RE_engine_get(const struct Render *re); | |||||
| /* Engine Types */ | /* Engine Types */ | ||||
| void RE_engines_init(void); | void RE_engines_init(void); | ||||
| void RE_engines_exit(void); | void RE_engines_exit(void); | ||||
| void RE_engines_register(RenderEngineType *render_type); | void RE_engines_register(RenderEngineType *render_type); | ||||
| bool RE_engine_is_opengl(RenderEngineType *render_type); | bool RE_engine_is_opengl(RenderEngineType *render_type); | ||||
| Show All 13 Lines | |||||