Changeset View
Changeset View
Standalone View
Standalone View
source/blender/render/extern/include/RE_engine.h
| Show First 20 Lines • Show All 82 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 Scene *scene); | void (*update)(struct RenderEngine *engine, struct Main *bmain, struct Scene *scene); | ||||
| void (*render)(struct RenderEngine *engine, struct Scene *scene); | void (*render)(struct RenderEngine *engine, struct Scene *scene); | ||||
| void (*bake)(struct RenderEngine *engine, struct Scene *scene, struct Object *object, const int pass_type, const int object_id, const struct BakePixel *pixel_array, const int num_pixels, const int depth, void *result); | void (*bake)(struct RenderEngine *engine, struct Scene *scene, struct Object *object, const int pass_type, const int object_id, const struct BakePixel *pixel_array, const int num_pixels, const int depth, const void *matrix, void *result); | ||||
| 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); | ||||
| /* RNA integration */ | /* RNA integration */ | ||||
| ExtensionRNA ext; | ExtensionRNA ext; | ||||
| ▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines | |||||