Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2015-04-29 17:18:18 +0300
committerDalai Felinto <dfelinto@gmail.com>2015-04-29 17:18:22 +0300
commitb033736eb7ea65d47bc3cb13605df176c490efe1 (patch)
treea586bf6439a119a2621e23f63349419c1f2dfd2d /source/blender/render/extern/include/RE_pipeline.h
parent3acc1ba49c95786841608c0b516a7fd0879bad76 (diff)
Multi-View: new util functions RE_RenderViewGetById() and RE_RenderViewGetByName()
Both functions try to find a valid RenderView and if they can't they fallback to the first RenderView of the RenderResult
Diffstat (limited to 'source/blender/render/extern/include/RE_pipeline.h')
-rw-r--r--source/blender/render/extern/include/RE_pipeline.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/render/extern/include/RE_pipeline.h b/source/blender/render/extern/include/RE_pipeline.h
index 39e17c28162..2c3ad74c7e3 100644
--- a/source/blender/render/extern/include/RE_pipeline.h
+++ b/source/blender/render/extern/include/RE_pipeline.h
@@ -354,6 +354,8 @@ bool RE_allow_render_generic_object(struct Object *ob);
bool RE_HasFakeLayer(RenderResult *res);
bool RE_RenderResult_is_stereo(RenderResult *res);
+struct RenderView *RE_RenderViewGetById(struct RenderResult *res, const int view_id);
+struct RenderView *RE_RenderViewGetByName(struct RenderResult *res, const char *viewname);
float *RE_RenderViewGetRectf(struct RenderResult *rr, const int view_id);
float *RE_RenderViewGetRectz(struct RenderResult *rr, const int view_id);
int *RE_RenderViewGetRect32(struct RenderResult *rr, const int view_id);