Deduplicate some logic around debug passes
This commit is contained in:
@@ -361,5 +361,12 @@ 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);
|
||||
|
||||
/******* Debug pass helper functions *********/
|
||||
|
||||
#ifdef WITH_CYCLES_DEBUG
|
||||
int RE_debug_pass_num_channels_get(int pass_type);
|
||||
const char *RE_debug_pass_name_get(int pass_type);
|
||||
#endif
|
||||
|
||||
#endif /* __RE_PIPELINE_H__ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user