Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_scene_types.h
| Show First 20 Lines • Show All 221 Lines • ▼ Show 20 Lines | typedef struct SceneRenderLayer { | ||||
| unsigned int lay; /* scene->lay itself has priority over this */ | unsigned int lay; /* scene->lay itself has priority over this */ | ||||
| unsigned int lay_zmask; /* has to be after lay, this is for Z-masking */ | unsigned int lay_zmask; /* has to be after lay, this is for Z-masking */ | ||||
| unsigned int lay_exclude; /* not used by internal, exclude */ | unsigned int lay_exclude; /* not used by internal, exclude */ | ||||
| int layflag; | int layflag; | ||||
| int passflag; /* pass_xor has to be after passflag */ | int passflag; /* pass_xor has to be after passflag */ | ||||
| int pass_xor; | int pass_xor; | ||||
| int denoising_flag; | |||||
| int denoising_radius; | |||||
| float denoising_weighting; | |||||
| int samples; | int samples; | ||||
| float pass_alpha_threshold; | float pass_alpha_threshold; | ||||
| int pad; | |||||
| struct FreestyleConfig freestyleConfig; | struct FreestyleConfig freestyleConfig; | ||||
| } SceneRenderLayer; | } SceneRenderLayer; | ||||
| /* srl->layflag */ | /* srl->layflag */ | ||||
| #define SCE_LAY_SOLID 1 | #define SCE_LAY_SOLID 1 | ||||
| #define SCE_LAY_ZTRA 2 | #define SCE_LAY_ZTRA 2 | ||||
| #define SCE_LAY_HALO 4 | #define SCE_LAY_HALO 4 | ||||
| #define SCE_LAY_EDGE 8 | #define SCE_LAY_EDGE 8 | ||||
| #define SCE_LAY_SKY 16 | #define SCE_LAY_SKY 16 | ||||
| #define SCE_LAY_STRAND 32 | #define SCE_LAY_STRAND 32 | ||||
| #define SCE_LAY_FRS 64 | #define SCE_LAY_FRS 64 | ||||
| #define SCE_LAY_AO 128 | #define SCE_LAY_AO 128 | ||||
| /* flags between 256 and 0x8000 are set to 1 already, for future options */ | /* flags between 256 and 0x8000 are set to 1 already, for future options */ | ||||
| #define SCE_LAY_ALL_Z 0x8000 | #define SCE_LAY_ALL_Z 0x8000 | ||||
| #define SCE_LAY_XOR 0x10000 | #define SCE_LAY_XOR 0x10000 | ||||
| #define SCE_LAY_DISABLE 0x20000 | #define SCE_LAY_DISABLE 0x20000 | ||||
| #define SCE_LAY_ZMASK 0x40000 | #define SCE_LAY_ZMASK 0x40000 | ||||
| #define SCE_LAY_NEG_ZMASK 0x80000 | #define SCE_LAY_NEG_ZMASK 0x80000 | ||||
| typedef enum SceneDenoisingFlag { | |||||
| SCE_DENOISING_USE = (1 << 0), | |||||
| SCE_DENOISING_PASS_DIFFDIR = (1 << 1), | |||||
| SCE_DENOISING_PASS_DIFFIND = (1 << 2), | |||||
| SCE_DENOISING_PASS_GLOSSDIR = (1 << 3), | |||||
| SCE_DENOISING_PASS_GLOSSIND = (1 << 4), | |||||
| SCE_DENOISING_PASS_TRANSDIR = (1 << 5), | |||||
| SCE_DENOISING_PASS_TRANSIND = (1 << 6), | |||||
| SCE_DENOISING_PASS_SUBDIR = (1 << 7), | |||||
| SCE_DENOISING_PASS_SUBIND = (1 << 8), | |||||
| SCE_DENOISING_RELATIVE_PCA = (1 << 9), | |||||
| } SceneDenoisingFlag; | |||||
| /* srl->passflag */ | /* srl->passflag */ | ||||
| typedef enum ScenePassType { | typedef enum ScenePassType { | ||||
| SCE_PASS_COMBINED = (1 << 0), | SCE_PASS_COMBINED = (1 << 0), | ||||
| SCE_PASS_Z = (1 << 1), | SCE_PASS_Z = (1 << 1), | ||||
| SCE_PASS_RGBA = (1 << 2), | SCE_PASS_RGBA = (1 << 2), | ||||
| SCE_PASS_DIFFUSE = (1 << 3), | SCE_PASS_DIFFUSE = (1 << 3), | ||||
| SCE_PASS_SPEC = (1 << 4), | SCE_PASS_SPEC = (1 << 4), | ||||
| SCE_PASS_SHADOW = (1 << 5), | SCE_PASS_SHADOW = (1 << 5), | ||||
| ▲ Show 20 Lines • Show All 2,045 Lines • Show Last 20 Lines | |||||