diff options
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index c2711c465e1..c1e8e8f520f 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -227,6 +227,11 @@ typedef struct SceneRenderLayer { int passflag; /* pass_xor has to be after passflag */ int pass_xor; + int denoising_flag; + int denoising_radius; + float denoising_weighting; + float denoising_feature_strength; + int samples; float pass_alpha_threshold; @@ -252,6 +257,19 @@ typedef struct SceneRenderLayer { #define SCE_LAY_ZMASK 0x40000 #define SCE_LAY_NEG_ZMASK 0x80000 +typedef enum SceneDenoisingFlag { + SCE_DENOISING_USE = (1 << 0), + SCE_DENOISING_PASS_DIFFDIR = (1 << 2), + SCE_DENOISING_PASS_DIFFIND = (1 << 3), + SCE_DENOISING_PASS_GLOSSDIR = (1 << 4), + SCE_DENOISING_PASS_GLOSSIND = (1 << 5), + SCE_DENOISING_PASS_TRANSDIR = (1 << 6), + SCE_DENOISING_PASS_TRANSIND = (1 << 7), + SCE_DENOISING_PASS_SUBDIR = (1 << 8), + SCE_DENOISING_PASS_SUBIND = (1 << 9), + SCE_DENOISING_RELATIVE_PCA = (1 << 13), +} SceneDenoisingFlag; + /* srl->passflag */ typedef enum ScenePassType { SCE_PASS_COMBINED = (1 << 0), |