Blender Git Commit Log

Git Commits -> Revision c6e9ff6

June 4, 2016, 19:24 (GMT)
Render API: Allow renderers to allocate additional passes

This commit adds the add_pass function to the renderer API, which allows a renderer
to add a pass to a certain or all render layers. Since the RNA only has 32bit integers as
argument types, the position of the passtype bit is passed instead of the actual passtype.
When additional RenderResults are allocated, all additional passes added to the main result
are added to it as well.

Commit Details:

Full Hash: c6e9ff6ec63f6d65d7271e8f4d83b4f67c6bcf05
Parent Commit: 72266d2
Lines Changed: +87, -0

5 Modified Paths:

/source/blender/makesrna/intern/rna_render.c (+9, -0) (Diff)
/source/blender/render/extern/include/RE_engine.h (+2, -0) (Diff)
/source/blender/render/intern/include/render_result.h (+5, -0) (Diff)
/source/blender/render/intern/source/external_engine.c (+13, -0) (Diff)
/source/blender/render/intern/source/render_result.c (+58, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021