Render API: Rename render > render_to_image; view_draw > render_to_view
This is part of the new draw manager design. Any engine (even clay, eevee, ...) should be able to draw to the viewport, as well as render to an image directly. Changing the API names to conform to that.
This commit is contained in:
@@ -93,13 +93,13 @@ typedef struct RenderEngineType {
|
||||
int flag;
|
||||
|
||||
void (*update)(struct RenderEngine *engine, struct Main *bmain, struct Depsgraph *depsgraph, struct Scene *scene);
|
||||
void (*render)(struct RenderEngine *engine, struct Depsgraph *depsgraph);
|
||||
void (*render_to_image)(struct RenderEngine *engine, struct Depsgraph *depsgraph);
|
||||
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 (*view_update)(struct RenderEngine *engine, const struct bContext *context);
|
||||
void (*view_draw)(struct RenderEngine *engine, const struct bContext *context);
|
||||
void (*render_to_view)(struct RenderEngine *engine, const struct bContext *context);
|
||||
|
||||
void (*update_script_node)(struct RenderEngine *engine, struct bNodeTree *ntree, struct bNode *node);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user