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:
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 918d0f00040..47df1f9fbde 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -227,9 +227,14 @@ 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;
-
+
struct FreestyleConfig freestyleConfig;
} SceneRenderLayer;
@@ -250,6 +255,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),