Changeset View
Changeset View
Standalone View
Standalone View
source/blender/render/extern/include/RE_engine.h
| Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | typedef struct RenderEngineType { | ||||
| 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 (*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 object_id, | const int width, | ||||
| const struct BakePixel *pixel_array, | const int height); | ||||
| const int num_pixels, | |||||
| const int depth, | |||||
| void *result); | |||||
| void (*view_update)(struct RenderEngine *engine, | void (*view_update)(struct RenderEngine *engine, | ||||
| const struct bContext *context, | const struct bContext *context, | ||||
| struct Depsgraph *depsgraph); | struct Depsgraph *depsgraph); | ||||
| void (*view_draw)(struct RenderEngine *engine, | void (*view_draw)(struct RenderEngine *engine, | ||||
| const struct bContext *context, | const struct bContext *context, | ||||
| struct Depsgraph *depsgraph); | struct Depsgraph *depsgraph); | ||||
| Show All 32 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; | |||||
| /* Depsgraph */ | /* Depsgraph */ | ||||
| struct Depsgraph *depsgraph; | struct Depsgraph *depsgraph; | ||||
| /* callback for render pass query */ | /* callback for render pass query */ | ||||
| ThreadMutex update_render_passes_mutex; | ThreadMutex update_render_passes_mutex; | ||||
| update_render_passes_cb_t update_render_passes_cb; | update_render_passes_cb_t update_render_passes_cb; | ||||
| void *update_render_passes_data; | void *update_render_passes_data; | ||||
| ▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines | |||||