Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/eevee/eevee_private.h
| Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
| #if defined(IRRADIANCE_SH_L2) | #if defined(IRRADIANCE_SH_L2) | ||||
| # define SHADER_IRRADIANCE "#define IRRADIANCE_SH_L2\n" | # define SHADER_IRRADIANCE "#define IRRADIANCE_SH_L2\n" | ||||
| #elif defined(IRRADIANCE_CUBEMAP) | #elif defined(IRRADIANCE_CUBEMAP) | ||||
| # define SHADER_IRRADIANCE "#define IRRADIANCE_CUBEMAP\n" | # define SHADER_IRRADIANCE "#define IRRADIANCE_CUBEMAP\n" | ||||
| #elif defined(IRRADIANCE_HL2) | #elif defined(IRRADIANCE_HL2) | ||||
| # define SHADER_IRRADIANCE "#define IRRADIANCE_HL2\n" | # define SHADER_IRRADIANCE "#define IRRADIANCE_HL2\n" | ||||
| #endif | #endif | ||||
| #define EEVEE_RENDERPASSES_SUPPORTED \ | |||||
| (SCE_PASS_COMBINED | SCE_PASS_Z | SCE_PASS_MIST | SCE_PASS_NORMAL | SCE_PASS_AO | \ | |||||
| SCE_PASS_SUBSURFACE_COLOR | SCE_PASS_SUBSURFACE_DIRECT) | |||||
| #define EEVEE_RENDERPASSES_WITH_POST_PROCESSING \ | |||||
| (SCE_PASS_Z | SCE_PASS_MIST | SCE_PASS_NORMAL | SCE_PASS_AO | SCE_PASS_SUBSURFACE_COLOR | \ | |||||
| SCE_PASS_SUBSURFACE_DIRECT) | |||||
| /* Macro causes over indentation. */ | /* Macro causes over indentation. */ | ||||
| /* clang-format off */ | /* clang-format off */ | ||||
| #define SHADER_DEFINES \ | #define SHADER_DEFINES \ | ||||
| "#define EEVEE_ENGINE\n" \ | "#define EEVEE_ENGINE\n" \ | ||||
| "#define MAX_PROBE " STRINGIFY(MAX_PROBE) "\n" \ | "#define MAX_PROBE " STRINGIFY(MAX_PROBE) "\n" \ | ||||
| "#define MAX_GRID " STRINGIFY(MAX_GRID) "\n" \ | "#define MAX_GRID " STRINGIFY(MAX_GRID) "\n" \ | ||||
| "#define MAX_PLANAR " STRINGIFY(MAX_PLANAR) "\n" \ | "#define MAX_PLANAR " STRINGIFY(MAX_PLANAR) "\n" \ | ||||
| "#define MAX_LIGHT " STRINGIFY(MAX_LIGHT) "\n" \ | "#define MAX_LIGHT " STRINGIFY(MAX_LIGHT) "\n" \ | ||||
| ▲ Show 20 Lines • Show All 973 Lines • ▼ Show 20 Lines | |||||
| void EEVEE_mist_output_accumulate(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); | void EEVEE_mist_output_accumulate(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); | ||||
| void EEVEE_mist_free(void); | void EEVEE_mist_free(void); | ||||
| /* eevee_renderpasses.c */ | /* eevee_renderpasses.c */ | ||||
| void EEVEE_renderpasses_init(EEVEE_Data *vedata); | void EEVEE_renderpasses_init(EEVEE_Data *vedata); | ||||
| void EEVEE_renderpasses_output_init(EEVEE_ViewLayerData *sldata, | void EEVEE_renderpasses_output_init(EEVEE_ViewLayerData *sldata, | ||||
| EEVEE_Data *vedata, | EEVEE_Data *vedata, | ||||
| uint tot_samples); | uint tot_samples); | ||||
| void EEVEE_renderpasses_output_accumulate(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); | |||||
| void EEVEE_renderpasses_postprocess(EEVEE_ViewLayerData *sldata, | void EEVEE_renderpasses_postprocess(EEVEE_ViewLayerData *sldata, | ||||
| EEVEE_Data *vedata, | EEVEE_Data *vedata, | ||||
| eScenePassType renderpass_type); | eScenePassType renderpass_type); | ||||
| void EEVEE_renderpasses_draw(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); | |||||
| void EEVEE_renderpasses_free(void); | void EEVEE_renderpasses_free(void); | ||||
| bool EEVEE_renderpasses_only_first_sample_pass_active(EEVEE_Data *vedata); | |||||
| /* eevee_temporal_sampling.c */ | /* eevee_temporal_sampling.c */ | ||||
| void EEVEE_temporal_sampling_reset(EEVEE_Data *vedata); | void EEVEE_temporal_sampling_reset(EEVEE_Data *vedata); | ||||
| int EEVEE_temporal_sampling_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); | int EEVEE_temporal_sampling_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata); | ||||
| void EEVEE_temporal_sampling_offset_calc(const double ht_point[2], | void EEVEE_temporal_sampling_offset_calc(const double ht_point[2], | ||||
| const float filter_size, | const float filter_size, | ||||
| float r_offset[2]); | float r_offset[2]); | ||||
| void EEVEE_temporal_sampling_matrices_calc(EEVEE_EffectsInfo *effects, const double ht_point[2]); | void EEVEE_temporal_sampling_matrices_calc(EEVEE_EffectsInfo *effects, const double ht_point[2]); | ||||
| ▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines | |||||