Changeset View
Changeset View
Standalone View
Standalone View
source/blender/render/extern/include/RE_engine.h
| Show First 20 Lines • Show All 84 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 pass_filter, 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 pass_filter, const int width, const int height); | ||||
| 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 (*update_render_passes)(struct RenderEngine *engine, struct Scene *scene, struct SceneRenderLayer *srl); | void (*update_render_passes)(struct RenderEngine *engine, struct Scene *scene, struct SceneRenderLayer *srl); | ||||
| /* RNA integration */ | /* RNA integration */ | ||||
| Show All 14 Lines | typedef struct RenderEngine { | ||||
| struct Render *re; | struct Render *re; | ||||
| ListBase fullresult; | ListBase fullresult; | ||||
| char text[512]; /* IMA_MAX_RENDER_TEXT */ | char text[512]; /* IMA_MAX_RENDER_TEXT */ | ||||
| int resolution_x, resolution_y; | int resolution_x, resolution_y; | ||||
| struct ReportList *reports; | struct ReportList *reports; | ||||
| struct { | |||||
| const struct BakePixel *pixels; | |||||
| float *result; | |||||
| int width, height, depth; | |||||
| int object_id; | |||||
| } bake; | |||||
| /* for blender internal only */ | /* for blender internal only */ | ||||
| int update_flag; | int update_flag; | ||||
| int job_update_flag; | int job_update_flag; | ||||
| rctf last_viewplane; | rctf last_viewplane; | ||||
| rcti last_disprect; | rcti last_disprect; | ||||
| float last_viewmat[4][4]; | float last_viewmat[4][4]; | ||||
| int last_winx, last_winy; | int last_winx, last_winy; | ||||
| ▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines | |||||