|
Blender V5.3
|
Namespaces | |
| namespace | lut |
Variables | |
| constexpr PanoramicViewBits | PANORAMIC_VIEW_ALL = PanoramicViewBits((1u << 6u) - 1u) |
| constexpr PanoramicViewBits | PANORAMIC_VIEW_SIDES |
| static constexpr float | DOF_FAST_GATHER_COC_ERROR = 0.05f |
| static constexpr int | DOF_GATHER_RING_COUNT = 5 |
| static constexpr int | DOF_DILATE_RING_COUNT = 3 |
| static constexpr int | FILM_PRECOMP_SAMPLE_MAX = 16 |
| static constexpr int | FILM_PANORAMIC_SAMPLE_LEN = 4 |
| static constexpr int | AOV_MAX = 128 |
| static constexpr int | SAMPLING_DIMENSION_COUNT = 36 |
| static constexpr const float | shadow_face_mat [6][3][3] |
| static constexpr const float | shadow_clipmap_scale_mat [4][4] |
| static constexpr int | SSS_SAMPLE_MAX = 64 |
| static constexpr float | SSS_BURLEY_TRUNCATE = 16.0f |
| static constexpr float | SSS_BURLEY_TRUNCATE_CDF = 0.9963790093708328 |
| static constexpr float | SSS_TRANSMIT_LUT_SIZE = 64.0f |
| static constexpr float | SSS_TRANSMIT_LUT_RADIUS = 2.0f |
| static constexpr float | SSS_TRANSMIT_LUT_SCALE |
| static constexpr float | SSS_TRANSMIT_LUT_BIAS = (0.5f / float(SSS_TRANSMIT_LUT_SIZE)) |
| static constexpr float | SSS_TRANSMIT_LUT_STEP_RES = 64.0f |
Light Culling | |
| static constexpr int | CULLING_MAX_ITEM = 65536 |
| static constexpr int | CULLING_ZBIN_COUNT = 4096 |
| static constexpr int | CULLING_TILE_RES = 16 |
Shadows | |
Shadow data for either a directional shadow or a punctual shadow. A punctual shadow is composed of 1, 5 or 6 shadow regions. Regions are sorted in this order -Z, +X, -X, +Y, -Y, +Z. Face index is computed from light's object space coordinates. A directional light shadow is composed of multiple clip-maps with each level covering twice as much area as the previous one. | |
| enum | eCubeFace : uint32_t { Z_NEG = 0u , X_POS = 1u , X_NEG = 2u , Y_POS = 3u , Y_NEG = 4u , Z_POS = 5u } |
| enum | eShadowProjectionType : uint32_t { SHADOW_PROJECTION_CUBEFACE , SHADOW_PROJECTION_CLIPMAP , SHADOW_PROJECTION_CASCADE } |
| enum | eShadowFlag : uint32_t { SHADOW_NO_DATA = 0u , SHADOW_IS_CACHED = (1u << 27u) , SHADOW_IS_ALLOCATED = (1u << 28u) , SHADOW_DO_UPDATE = (1u << 29u) , SHADOW_IS_RENDERED = (1u << 30u) , SHADOW_IS_USED = (1u << 31u) , SHADOW_TAG_UPDATE = (1u << 31u) } |
| static int2 | shadow_cascade_grid_offset (int2 base_offset, int level_relative) |
| static uint | shadow_page_pack (uint3 page) |
| static uint3 | shadow_page_unpack (uint data) |
| static ShadowTileData | shadow_tile_unpack (ShadowTileDataPacked data) |
| static ShadowTileDataPacked | shadow_tile_pack (ShadowTileData tile) |
| static uint | shadow_lod_offset_pack (uint2 ofs) |
| static uint2 | shadow_lod_offset_unpack (uint data) |
| static ShadowSamplingTile | shadow_sampling_tile_unpack (ShadowSamplingTilePacked data) |
| static ShadowSamplingTilePacked | shadow_sampling_tile_pack (ShadowSamplingTile tile) |
| static ShadowSamplingTile | shadow_sampling_tile_create (ShadowTileData tile_data, uint lod) |
Sync Module | |
| using | HairHandleCallback = FunctionRef<void(const HairParticleInfo &)> |
| void | foreach_hair_particle (Instance &inst, ObjectRef &ob_ref, HairHandleCallback callback) |
VelocityModule | |
| using | CameraDataBuf = draw::UniformBuffer<CameraData> |
| using | VelocityGeometryBuf = draw::StorageArrayBuffer<float4, 16, true> |
| using | VelocityIndexBuf = draw::StorageArrayBuffer<VelocityIndex, 16> |
| using | VelocityObjectBuf = draw::StorageArrayBuffer<float4x4, 16> |
| static void | step_object_sync_render (Instance &inst, ObjectRef &ob_ref) |
Definition at line 35 of file eevee_velocity.hh.
Definition at line 28 of file eevee_lightprobe_volume.hh.
Definition at line 29 of file eevee_lightprobe_planar.hh.
Definition at line 48 of file eevee_depth_of_field.hh.
Definition at line 47 of file eevee_depth_of_field.hh.
| using blender::eevee::HairHandleCallback = FunctionRef<void(const HairParticleInfo &)> |
Definition at line 94 of file eevee_sync.hh.
Definition at line 29 of file eevee_lightprobe_volume.hh.
Definition at line 44 of file eevee_light.hh.
Definition at line 45 of file eevee_light.hh.
Definition at line 46 of file eevee_light.hh.
| using blender::eevee::LightCullingZbinBuf = draw::StorageArrayBuffer<uint, CULLING_ZBIN_COUNT, true> |
Definition at line 47 of file eevee_light.hh.
Definition at line 48 of file eevee_light.hh.
Definition at line 49 of file eevee_light.hh.
Definition at line 61 of file eevee_motion_blur.hh.
| using blender::eevee::MotionBlurTileIndirectionBuf = draw::StorageBuffer<MotionBlurTileIndirection, true> |
Definition at line 62 of file eevee_motion_blur.hh.
Definition at line 52 of file draw_manager.hh.
Definition at line 66 of file eevee_instance.hh.
| using blender::eevee::PlanarProbeDataBuf = draw::UniformArrayBuffer<PlanarProbeData, PLANAR_PROBE_MAX> |
Definition at line 30 of file eevee_lightprobe_planar.hh.
Definition at line 31 of file eevee_lightprobe_planar.hh.
Definition at line 67 of file eevee_instance.hh.
| using blender::eevee::RayTraceTileBuf = draw::StorageArrayBuffer<uint, 1024, true> |
Definition at line 24 of file eevee_raytrace.hh.
Definition at line 23 of file eevee_sampling.hh.
| using blender::eevee::ShadowPageCacheBuf = draw::StorageArrayBuffer<uint2, SHADOW_MAX_PAGE, true> |
Definition at line 50 of file eevee_shadow.hh.
| using blender::eevee::ShadowPageHeapBuf = draw::StorageVectorBuffer<uint, SHADOW_MAX_PAGE> |
Definition at line 49 of file eevee_shadow.hh.
Definition at line 48 of file eevee_shadow.hh.
| using blender::eevee::ShadowRenderViewBuf = draw::StorageArrayBuffer<ShadowRenderView, SHADOW_VIEW_MAX, true> |
Definition at line 54 of file eevee_shadow.hh.
Definition at line 47 of file eevee_shadow.hh.
| using blender::eevee::ShadowTileDataBuf = draw::StorageArrayBuffer<ShadowTileDataPacked, SHADOW_MAX_TILE, true> |
Definition at line 53 of file eevee_shadow.hh.
| using blender::eevee::ShadowTileMapClipBuf = draw::StorageArrayBuffer<ShadowTileMapClip, SHADOW_MAX_TILEMAP, true> |
Definition at line 52 of file eevee_shadow.hh.
| using blender::eevee::ShadowTileMapDataBuf = draw::StorageVectorBuffer<ShadowTileMapData, SHADOW_MAX_TILEMAP> |
Definition at line 51 of file eevee_shadow.hh.
| using blender::eevee::SphereProbeDataBuf = draw::UniformArrayBuffer<SphereProbeData, SPHERE_PROBE_MAX> |
Definition at line 30 of file eevee_lightprobe_sphere.hh.
Definition at line 31 of file eevee_lightprobe_sphere.hh.
Definition at line 28 of file eevee_shader.hh.
Definition at line 36 of file eevee_subsurface.hh.
| using blender::eevee::SubsurfaceTileBuf = draw::StorageArrayBuffer<uint, 1024, true> |
Definition at line 37 of file eevee_subsurface.hh.
| using blender::eevee::SurfelBuf = draw::StorageArrayBuffer<Surfel, 64> |
Definition at line 30 of file eevee_lightprobe_volume.hh.
Definition at line 31 of file eevee_lightprobe_volume.hh.
Definition at line 65 of file eevee_instance.hh.
Definition at line 36 of file eevee_velocity.hh.
Definition at line 37 of file eevee_velocity.hh.
Definition at line 38 of file eevee_velocity.hh.
| using blender::eevee::VolumeProbeDataBuf = draw::UniformArrayBuffer<VolumeProbeData, IRRADIANCE_GRID_MAX> |
Definition at line 32 of file eevee_lightprobe_volume.hh.
Definition at line 19 of file eevee_camera_shared.hh.
Definition at line 127 of file eevee_material.hh.
| Enumerator | |
|---|---|
| Z_NEG | |
| X_POS | |
| X_NEG | |
| Y_POS | |
| Y_NEG | |
| Z_POS | |
Definition at line 33 of file eevee_shadow_shared.hh.
These are just to make more sense of G.debug_value's values. Reserved range is 1-30.
Definition at line 20 of file eevee_debug_shared.hh.
| Enumerator | |
|---|---|
| FILM_WEIGHT_LAYER_ACCUMULATION | |
| FILM_WEIGHT_LAYER_DISTANCE | |
Definition at line 22 of file eevee_film_shared.hh.
| Enumerator | |
|---|---|
| LIGHT_SUN | |
| LIGHT_SUN_ORTHO | |
| LIGHT_OMNI_SPHERE | |
| LIGHT_OMNI_DISK | |
| LIGHT_SPOT_SPHERE | |
| LIGHT_SPOT_DISK | |
| LIGHT_RECT | |
| LIGHT_ELLIPSE | |
Definition at line 39 of file eevee_light_shared.hh.
| Enumerator | |
|---|---|
| MAT_DISPLACEMENT_BUMP | |
| MAT_DISPLACEMENT_VERTEX_WITH_BUMP | |
Definition at line 47 of file eevee_material.hh.
Defines the geometric primitive type the shader is intended to run on. This affects attribute fetching and attribute interpolation.
| Enumerator | |
|---|---|
| MAT_GEOM_MESH | |
| MAT_GEOM_POINTCLOUD | |
| MAT_GEOM_CURVES | |
| MAT_GEOM_GSPLAT | |
| MAT_GEOM_VOLUME | |
| MAT_GEOM_WORLD | |
Definition at line 59 of file eevee_material_shared.hh.
Defines the specific rendering pass or shading strategy for a material. This determines which shader variants are generated.
Definition at line 21 of file eevee_material_shared.hh.
| Enumerator | |
|---|---|
| MAT_PROBE_NONE | |
| MAT_PROBE_REFLECTION | |
| MAT_PROBE_PLANAR | |
Definition at line 81 of file eevee_material.hh.
| Enumerator | |
|---|---|
| MAT_THICKNESS_SPHERE | |
| MAT_THICKNESS_SLAB | |
Definition at line 65 of file eevee_material.hh.
Index of panoramic camera's 6 cube map faces.
| Enumerator | |
|---|---|
| PANORAMIC_FACE_POS_X | |
| PANORAMIC_FACE_NEG_X | |
| PANORAMIC_FACE_POS_Y | |
| PANORAMIC_FACE_NEG_Y | |
| PANORAMIC_FACE_POS_Z | |
| PANORAMIC_FACE_NEG_Z | |
Definition at line 37 of file eevee_camera_shared.hh.
| Enumerator | |
|---|---|
| PASS_STORAGE_COLOR | |
| PASS_STORAGE_VALUE | |
| PASS_STORAGE_CRYPTOMATTE | |
| PASS_STORAGE_DENOISING_DEPTH | |
Definition at line 27 of file eevee_film_shared.hh.
Definition at line 19 of file eevee_sampling_shared.hh.
Definition at line 31 of file eevee_shader.hh.
| Enumerator | |
|---|---|
| SHADOW_NO_DATA | |
| SHADOW_IS_CACHED | |
| SHADOW_IS_ALLOCATED | |
| SHADOW_DO_UPDATE | |
| SHADOW_IS_RENDERED | |
| SHADOW_IS_USED | |
| SHADOW_TAG_UPDATE | |
Definition at line 197 of file eevee_shadow_shared.hh.
| Enumerator | |
|---|---|
| SHADOW_PROJECTION_CUBEFACE | |
| SHADOW_PROJECTION_CLIPMAP | |
| SHADOW_PROJECTION_CASCADE | |
Definition at line 43 of file eevee_shadow_shared.hh.
| Enumerator | |
|---|---|
| STEP_PREVIOUS | |
| STEP_NEXT | |
| STEP_CURRENT | |
Definition at line 21 of file eevee_velocity_shared.hh.
| Enumerator | |
|---|---|
| LIGHT_CAMERA_HIDDEN | |
| LIGHT_USE_SHADOW_JITTER | |
Definition at line 53 of file eevee_light_shared.hh.
| Enumerator | |
|---|---|
| LIGHT_DIFFUSE | |
| LIGHT_SPECULAR | |
| LIGHT_TRANSMISSION | |
| LIGHT_VOLUME | |
| LIGHT_TRANSLUCENT_WITH_THICKNESS | |
Definition at line 28 of file eevee_uniform_shared.hh.
| Enumerator | |
|---|---|
| SHAPE_ELLIPSOID | |
| SHAPE_CUBOID | |
Definition at line 30 of file eevee_lightprobe_shared.hh.
|
strong |
Bitmask identifying which of the 6 cubemap faces (in cubeface_mat() order) are needed to cover a given panoramic projection. FRONT/BACK alias the NEG_Z/POS_Z faces since those are the primary and opposite view directions for all panoramic projections.
| Enumerator | |
|---|---|
| POS_X | |
| NEG_X | |
| POS_Y | |
| NEG_Y | |
| BACK | |
| FRONT | |
Definition at line 36 of file eevee_camera.cc.
| Enumerator | |
|---|---|
| PASS_CATEGORY_DATA | |
| PASS_CATEGORY_COLOR_1 | |
| PASS_CATEGORY_COLOR_2 | |
| PASS_CATEGORY_COLOR_3 | |
| PASS_CATEGORY_AOV | |
| PASS_CATEGORY_CRYPTOMATTE | |
| PASS_CATEGORY_DENOISE | |
Definition at line 34 of file eevee_film_shared.hh.
| Enumerator | |
|---|---|
| LUT_GGX_BRDF_SPLIT_SUM | |
| LUT_GGX_BTDF_IOR_GT_ONE | |
| LUT_GGX_BSDF_SPLIT_SUM | |
| LUT_BURLEY_SSS_PROFILE | |
| LUT_RANDOM_WALK_SSS_PROFILE | |
Definition at line 20 of file eevee_precompute_shared.hh.
| Enumerator | |
|---|---|
| RAY_TYPE_CAMERA | |
| RAY_TYPE_SHADOW | |
| RAY_TYPE_DIFFUSE | |
| RAY_TYPE_GLOSSY | |
Definition at line 74 of file eevee_uniform_shared.hh.
Bitmask representing the shader categories. This allows the loading of certain parts of the engine to kick-in as soon as the shaders that depends on it are compiled.
Definition at line 181 of file eevee_shader.hh.
Index inside the world sun buffer. In the case the world uses the light path node, multiple suns can be extracted from the world.
| Enumerator | |
|---|---|
| WORLD_SUN_COMBINED | When the world node-tree doesn't use the light path node, there is only 1 extracted. |
| WORLD_SUN_DIFFUSE | |
| WORLD_SUN_GLOSSY | |
| WORLD_SUN_MAX | |
Definition at line 28 of file eevee_light_shared.hh.
|
static |
Definition at line 724 of file eevee_shader.cc.
References add_pipeline_create_info(), blender::gpu::shader::ShaderCreateInfo::additional_info(), blender::gpu::shader::ShaderCreateInfo::batch_resources_, BLI_assert_unreachable, blender::gpu::shader::bool_t, blender::gpu::shader::ShaderCreateInfo::compilation_constant(), blender::gpu::shader::ShaderCreateInfo::define(), ELEM, blender::gpu::shader::ShaderCreateInfo::fragment_function(), blender::gpu::shader::ShaderCreateInfo::fragment_source(), blender::eevee::SlotAllocator::get_next_sampler(), blender::GPU_multi_viewport_support(), HIZ_PREVIOUS_LAYER_TEX_SLOT, HIZ_TEX_SLOT, blender::blender::StringRefBase::is_empty(), MAT_GEOM_CURVES, MAT_GEOM_GSPLAT, MAT_GEOM_MESH, MAT_GEOM_POINTCLOUD, MAT_GEOM_VOLUME, MAT_GEOM_WORLD, MAT_PIPE_CAPTURE, MAT_PIPE_DEFERRED, MAT_PIPE_FORWARD, MAT_PIPE_PREPASS_DEFERRED, MAT_PIPE_PREPASS_DEFERRED_VELOCITY, MAT_PIPE_PREPASS_FORWARD, MAT_PIPE_PREPASS_FORWARD_VELOCITY, MAT_PIPE_PREPASS_OVERLAP, MAT_PIPE_PREPASS_PLANAR, MAT_PIPE_SHADOW, MAT_PIPE_VOLUME_MATERIAL, MAT_PIPE_VOLUME_OCCUPANCY, blender::gpu::shader::ShaderCreateInfo::name_, RADIANCE_PREVIOUS_LAYER_TEX_SLOT, blender::eevee::SlotAllocator::reserve_sampler_slot(), blender::eevee::SlotAllocator::reserve_slots(), blender::gpu::shader::ShaderCreateInfo::Resource::SAMPLER, STRINGIFY, blender::gpu::shader::ShaderCreateInfo::vertex_function(), and blender::gpu::shader::ShaderCreateInfo::vertex_source().
Referenced by add_pipeline_create_info(), and blender::eevee::ShaderModule::material_create_info_amend().
Definition at line 59 of file eevee_subsurface_shared.hh.
References burley_eval(), and expf.
Referenced by burley_eval().
Definition at line 45 of file eevee_subsurface_shared.hh.
References A, burley_setup(), and blender::l.
Referenced by burley_setup().
|
static |
Definition at line 353 of file eevee_lookdev.cc.
References calc_sphere_extent(), blender::max_ii(), blender::U, and UI_SCALE_FAC.
Referenced by calc_sphere_extent(), and blender::eevee::LookdevModule::sync().
Definition at line 95 of file eevee_depth_of_field_shared.hh.
References atanf, circle_to_polygon_angle(), circle_to_polygon_radius(), EEVEE_PI, floorf, and regular_polygon_side_length().
Referenced by circle_to_polygon_angle().
Definition at line 85 of file eevee_depth_of_field_shared.hh.
References circle_to_polygon_radius(), cosf, EEVEE_PI, and floorf.
Referenced by circle_to_polygon_angle(), and circle_to_polygon_radius().
|
inlinestatic |
Definition at line 72 of file eevee_depth_of_field_shared.hh.
References CAMERA_ORTHO, and coc_radius_from_camera_depth().
Referenced by coc_radius_from_camera_depth().
|
static |
Definition at line 1518 of file eevee_shader.cc.
References codegen_callback(), blender::eevee::ShaderModule::material_create_info_amend(), and blender::eevee::CallbackThunk::shader_module.
Referenced by codegen_callback(), blender::eevee::ShaderModule::material_shader_get(), and blender::eevee::ShaderModule::world_shader_get().
From Fabian Giesen's article: https://fgiesen.wordpress.com/2009/12/13/decoding-morton-codes/
Definition at line 28 of file eevee_raytrace.cc.
References compact_bits(), and blender::x.
Referenced by compact_bits(), and morton2d_to_coordinate().
|
inline |
Definition at line 24 of file eevee_camera.hh.
References cubeface_mat().
Referenced by cubeface_mat(), blender::eevee::MainView::MainView(), blender::eevee::CaptureView::render_probes(), and blender::eevee::CaptureView::render_world().
Definition at line 67 of file eevee_camera.hh.
References cubeface_winmat_get(), blender::perspective_m4(), and blender::MatBase< T, NumCol, NumRow, Alignment >::ptr().
Referenced by cubeface_winmat_get().
|
static |
Definition at line 212 of file eevee_film.cc.
References AO, blender::ViewLayer::cryptomatte_flag, blender::ViewLayerEEVEE::denoising_pass_flags, blender::ViewLayer::eevee, blender::EEVEE_DENOISING_PASS_STORE, blender::EEVEE_RENDER_PASS_COMBINED, blender::EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET, blender::EEVEE_RENDER_PASS_CRYPTOMATTE_MATERIAL, blender::EEVEE_RENDER_PASS_CRYPTOMATTE_OBJECT, blender::EEVEE_RENDER_PASS_DENOISING_DEPTH, blender::EEVEE_RENDER_PASS_DENOISING_DIFFUSE_ALBEDO, blender::EEVEE_RENDER_PASS_DENOISING_NORMAL, blender::EEVEE_RENDER_PASS_DENOISING_ROUGHNESS, blender::EEVEE_RENDER_PASS_DENOISING_SPECULAR_ALBEDO, ENABLE_FROM_LEGACY, enabled_passes(), NORMAL, blender::ViewLayerEEVEE::render_passes, blender::result, SET_FLAG_FROM_TEST, VECTOR, blender::VIEW_LAYER_CRYPTOMATTE_ASSET, blender::VIEW_LAYER_CRYPTOMATTE_MATERIAL, and blender::VIEW_LAYER_CRYPTOMATTE_OBJECT.
Referenced by enabled_passes(), get_viewport_compositor_enabled_passes(), and blender::eevee::Film::init().
|
inlinestatic |
Definition at line 141 of file eevee_film_shared.hh.
References cosf, expf, film_filter_weight(), M_TAU, saturate, and sqrtf.
Referenced by film_filter_weight().
| void blender::eevee::foreach_hair_particle | ( | Instance & | inst, |
| ObjectRef & | ob_ref, | ||
| HairHandleCallback | callback ) |
Definition at line 532 of file eevee_sync.cc.
References blender::ParticleSettings::draw_as, blender::DRW_object_is_visible_psys_in_active_context(), blender::eModifierType_ParticleSystem, foreach_hair_particle(), blender::eevee::Instance::is_viewport(), blender::Object::modifiers, blender::draw::ObjectRef::object, blender::ParticleSystem::part, blender::PART_DRAW_PATH, blender::PART_DRAW_REND, blender::ParticleSettings::ren_as, and blender::ModifierData::type.
Referenced by foreach_hair_particle(), blender::eevee::Instance::object_sync(), and step_object_sync_render().
|
inlinestatic |
Definition at line 45 of file eevee_sync.cc.
References blender::draw::detail::PassBase< DrawCommandBufType >::draw(), and geometry_call().
Referenced by geometry_call(), blender::eevee::SyncModule::sync_mesh(), and blender::eevee::SyncModule::sync_sculpt().
|
inlinestatic |
Definition at line 42 of file eevee_material.hh.
References geometry_type_has_surface(), and MAT_GEOM_VOLUME.
Referenced by geometry_type_has_surface().
|
inlinestatic |
Definition at line 54 of file eevee_sync.cc.
References blender::BLI_assert(), blender::draw::detail::PassBase< DrawCommandBufType >::draw(), geometry_volume_call(), blender::OB_VOLUME, blender::draw::ResourceID::ResourceID(), blender::Object::type, and blender::draw::volume_sub_pass().
Referenced by geometry_volume_call(), blender::eevee::SyncModule::sync_mesh(), and blender::eevee::SyncModule::sync_sculpt().
|
static |
Definition at line 1060 of file eevee_film.cc.
References blender::AOV_TYPE_COLOR, blender::AOV_TYPE_VALUE, FILM_PASS_CONVERT_COLOR, FILM_PASS_CONVERT_VALUE, get_aov_write_pass_shader_type(), and blender::ViewLayerAOV::type.
Referenced by get_aov_write_pass_shader_type(), and blender::eevee::Film::write_viewport_compositor_passes().
|
static |
Definition at line 262 of file eevee_film.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EEVEE_RENDER_PASS_MAX_BIT, enabled_passes(), get_viewport_compositor_enabled_passes(), blender::IndexRange::IndexRange(), and blender::eevee::Film::pass_to_render_pass_names().
Referenced by get_viewport_compositor_enabled_passes(), and blender::eevee::Film::init().
|
static |
Definition at line 1035 of file eevee_film.cc.
References blender::EEVEE_RENDER_PASS_COMBINED, blender::EEVEE_RENDER_PASS_DEPTH, FILM_PASS_CONVERT_COLOR, FILM_PASS_CONVERT_COMBINED, FILM_PASS_CONVERT_CRYPTOMATTE, FILM_PASS_CONVERT_DEPTH, FILM_PASS_CONVERT_VALUE, get_write_pass_shader_type(), PASS_STORAGE_COLOR, PASS_STORAGE_CRYPTOMATTE, PASS_STORAGE_DENOISING_DEPTH, blender::eevee::Film::pass_storage_type(), and PASS_STORAGE_VALUE.
Referenced by get_write_pass_shader_type(), and blender::eevee::Film::write_viewport_compositor_passes().
|
inlinestatic |
Definition at line 162 of file eevee_lightprobe_shared.hh.
References blender::eevee::IrradianceBrick::atlas_coord, blender::data, irradiance_brick_pack(), and IrradianceBrickPacked.
Referenced by irradiance_brick_pack().
|
inlinestatic |
Definition at line 169 of file eevee_lightprobe_shared.hh.
References blender::eevee::IrradianceBrick::atlas_coord, irradiance_brick_unpack(), and IrradianceBrickPacked.
Referenced by irradiance_brick_unpack().
|
inlinestatic |
Definition at line 60 of file eevee_light_shared.hh.
References is_area_light(), and LIGHT_RECT.
Referenced by is_area_light(), and blender::eevee::LightData::local_tilemap_count().
|
inlinestatic |
Definition at line 90 of file eevee_light_shared.hh.
References is_local_light(), and LIGHT_OMNI_SPHERE.
Referenced by is_local_light().
|
inlinestatic |
Definition at line 80 of file eevee_light_shared.hh.
References is_oriented_disk_light(), LIGHT_OMNI_DISK, and LIGHT_SPOT_DISK.
Referenced by is_oriented_disk_light().
|
inlinestatic |
Definition at line 31 of file eevee_camera_shared.hh.
References CAMERA_ORTHO, and is_panoramic().
Referenced by is_panoramic().
|
inlinestatic |
Definition at line 65 of file eevee_light_shared.hh.
References is_point_light(), LIGHT_OMNI_SPHERE, and LIGHT_SPOT_DISK.
Referenced by is_point_light().
|
inlinestatic |
Definition at line 75 of file eevee_light_shared.hh.
References is_sphere_light(), LIGHT_OMNI_SPHERE, and LIGHT_SPOT_SPHERE.
Referenced by is_sphere_light().
|
inlinestatic |
Definition at line 70 of file eevee_light_shared.hh.
References is_spot_light(), LIGHT_SPOT_DISK, and LIGHT_SPOT_SPHERE.
Referenced by is_spot_light(), and blender::eevee::LightData::local_tilemap_count().
|
inlinestatic |
Definition at line 85 of file eevee_light_shared.hh.
References is_sun_light(), and LIGHT_OMNI_SPHERE.
Referenced by is_sun_light(), and blender::eevee::LightData::tilemap_max_get().
|
inlinestatic |
Definition at line 87 of file eevee_material.hh.
References material_type_from_shader_uuid().
Referenced by material_type_from_shader_uuid().
Definition at line 38 of file eevee_raytrace.cc.
References compact_bits(), and morton2d_to_coordinate().
Referenced by morton2d_to_coordinate(), and random_in_tile().
|
inline |
Definition at line 89 of file eevee_camera.hh.
References b, and operator!=().
Referenced by operator!=(), operator!=(), and blender::workbench::operator!=().
Definition at line 201 of file eevee_film.cc.
References b, and operator!=().
|
inline |
Definition at line 77 of file eevee_camera.hh.
References b, blender::eevee::CameraData::central_cylindrical_range, blender::compare_m4m4(), blender::eevee::CameraData::equirect_bias, blender::eevee::CameraData::equirect_scale, blender::eevee::CameraData::fisheye_fov, blender::eevee::CameraData::fisheye_lens, blender::eevee::CameraData::fisheye_polynomial_bias, blender::eevee::CameraData::fisheye_polynomial_coefficients, blender::eevee::CameraData::fisheye_sensor, FLT_MIN, operator==(), blender::eevee::CameraData::panoramic_view_mask, blender::eevee::CameraData::persmat, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::eevee::CameraData::type, blender::eevee::CameraData::uv_bias, and blender::eevee::CameraData::uv_scale.
Referenced by operator==(), and operator==().
Definition at line 193 of file eevee_film.cc.
References b, blender::eevee::FilmData::background_opacity, blender::eevee::FilmData::extent, blender::eevee::FilmData::filter_radius, blender::eevee::FilmData::offset, operator==(), blender::eevee::FilmData::overscan, blender::eevee::FilmData::render_extent, and blender::eevee::FilmData::scaling_factor.
|
static |
Definition at line 135 of file eevee_camera.cc.
References CAMERA_PANO_MIRROR, and panoramic_camera_from_view().
Referenced by panoramic_camera_from_view(), and blender::eevee::Camera::sync().
|
static |
Definition at line 85 of file eevee_camera.cc.
References FRONT, M_PI_2, blender::math::max(), blender::math::min(), NEG_X, NEG_Y, panoramic_equiangular_cubemap_face_view_mask_get(), POS_X, POS_Y, tan_range_reaches_minus_one(), tan_range_reaches_one(), blender::eevee::CameraData::uv_bias, and blender::eevee::CameraData::uv_scale.
Referenced by panoramic_equiangular_cubemap_face_view_mask_get(), and panoramic_view_mask_get().
|
static |
Definition at line 51 of file eevee_camera.cc.
References atanf, BACK, FRONT, M_PI, M_PI_4, M_SQRT2, panoramic_fisheye_view_mask_get(), and PANORAMIC_VIEW_SIDES.
Referenced by panoramic_fisheye_view_mask_get(), and panoramic_view_mask_get().
|
static |
Definition at line 151 of file eevee_camera.cc.
References CAMERA_PANO_EQUIDISTANT, CAMERA_PANO_EQUISOLID, CAMERA_PANO_FISHEYE_LENS_POLYNOMIAL, blender::eevee::CameraData::fisheye_fov, M_PI_4, panoramic_front_face_extent_get(), tanf, and blender::eevee::CameraData::type.
Referenced by panoramic_front_face_extent_get(), and blender::eevee::Camera::sync().
|
static |
Definition at line 114 of file eevee_camera.cc.
References CAMERA_PANO_CENTRAL_CYLINDRICAL, CAMERA_PANO_EQUIANGULAR_CUBEMAP_FACE, CAMERA_PANO_EQUIDISTANT, CAMERA_PANO_EQUIRECT, CAMERA_PANO_EQUISOLID, CAMERA_PANO_FISHEYE_LENS_POLYNOMIAL, CAMERA_PANO_MIRROR, FRONT, panoramic_equiangular_cubemap_face_view_mask_get(), panoramic_fisheye_view_mask_get(), PANORAMIC_VIEW_ALL, panoramic_view_mask_get(), and blender::eevee::CameraData::type.
Referenced by panoramic_view_mask_get(), and blender::eevee::Camera::sync().
|
static |
Definition at line 1524 of file eevee_shader.cc.
References blender::eevee::CallbackThunk::default_mat, ELEM, blender::GPU_material_flag_get(), blender::GPU_material_get_material(), blender::GPU_material_get_pass(), blender::GPU_material_has_displacement_output(), blender::GPU_material_uuid_get(), blender::GPU_MATFLAG_RAYCAST, blender::GPU_MATFLAG_TRANSPARENT, blender::MA_BL_SS_REFRACTION, MAT_DISPLACEMENT_BUMP, MAT_GEOM_GSPLAT, MAT_PIPE_PREPASS_DEFERRED, MAT_PIPE_PREPASS_DEFERRED_VELOCITY, MAT_PIPE_PREPASS_FORWARD, MAT_PIPE_PREPASS_FORWARD_VELOCITY, MAT_PIPE_PREPASS_OVERLAP, MAT_PIPE_PREPASS_PLANAR, MAT_PIPE_SHADOW, blender::eevee::ShaderModule::material_shader_get(), pass_replacement_cb(), and blender::eevee::CallbackThunk::shader_module.
Referenced by blender::eevee::ShaderModule::material_shader_get(), and pass_replacement_cb().
Definition at line 45 of file eevee_raytrace.cc.
References hash, morton2d_to_coordinate(), random_in_tile(), and square().
Referenced by random_in_tile(), and blender::eevee::RayTraceModule::render().
Definition at line 78 of file eevee_depth_of_field_shared.hh.
References EEVEE_PI, regular_polygon_side_length(), and sinf.
Referenced by circle_to_polygon_angle(), and regular_polygon_side_length().
|
static |
Definition at line 41 of file eevee_lightprobe.cc.
References BLI_assert_unreachable, blender::LIGHT_PROBE_RESOLUTION_1024, blender::LIGHT_PROBE_RESOLUTION_128, blender::LIGHT_PROBE_RESOLUTION_2048, blender::LIGHT_PROBE_RESOLUTION_256, blender::LIGHT_PROBE_RESOLUTION_4096, blender::LIGHT_PROBE_RESOLUTION_512, and resolution_to_probe_resolution_enum().
Referenced by blender::eevee::LightProbeModule::init(), and resolution_to_probe_resolution_enum().
|
inlinestatic |
Definition at line 76 of file eevee_sampling_shared.hh.
References ceilf, float, sampling_web_ring_count_get(), sqrtf, and blender::x.
Referenced by sampling_web_ring_count_get().
|
inlinestatic |
Definition at line 70 of file eevee_sampling_shared.hh.
References sampling_web_sample_count_get().
Referenced by sampling_web_sample_count_get().
|
inlinestatic |
Definition at line 146 of file eevee_material.hh.
References CLOSURE_AMBIENT_OCCLUSION, CLOSURE_CLEARCOAT, CLOSURE_DIFFUSE, CLOSURE_EMISSION, CLOSURE_HOLDOUT, CLOSURE_REFLECTION, CLOSURE_REFRACTION, CLOSURE_SHADER_TO_RGBA, CLOSURE_SSS, CLOSURE_TRANSLUCENT, CLOSURE_TRANSPARENCY, blender::GPU_material_flag_get(), blender::GPU_MATFLAG_AO, blender::GPU_MATFLAG_COAT, blender::GPU_MATFLAG_DIFFUSE, blender::GPU_MATFLAG_EMISSION, blender::GPU_MATFLAG_GLOSSY, blender::GPU_MATFLAG_HOLDOUT, blender::GPU_MATFLAG_REFRACT, blender::GPU_MATFLAG_SHADER_TO_RGBA, blender::GPU_MATFLAG_SUBSURFACE, blender::GPU_MATFLAG_TRANSLUCENT, blender::GPU_MATFLAG_TRANSPARENT, and shader_closure_bits_from_flag().
Referenced by shader_closure_bits_from_flag(), and blender::eevee::ShaderKey::ShaderKey().
|
inlinestatic |
Definition at line 105 of file eevee_material.hh.
References blender::BLI_assert(), blender::MA_BL_TRANSPARENT_SHADOW, MAT_DISPLACEMENT_BUMP, MAT_THICKNESS_SPHERE, and shader_uuid_from_material_type().
Referenced by blender::eevee::MaterialKey::MaterialKey(), and shader_uuid_from_material_type().
|
inlinestatic |
Definition at line 49 of file eevee_shadow_shared.hh.
References shadow_cascade_grid_offset().
Referenced by shadow_cascade_grid_offset().
Definition at line 294 of file eevee_shadow_shared.hh.
References blender::draw::BLI_STATIC_ASSERT(), and shadow_lod_offset_pack().
Referenced by shadow_lod_offset_pack(), and shadow_sampling_tile_pack().
Definition at line 301 of file eevee_shadow_shared.hh.
References blender::data, and shadow_lod_offset_unpack().
Referenced by shadow_lod_offset_unpack(), and shadow_sampling_tile_unpack().
Definition at line 213 of file eevee_shadow_shared.hh.
References shadow_page_pack().
Referenced by shadow_page_pack(), shadow_sampling_tile_pack(), and shadow_tile_pack().
Definition at line 217 of file eevee_shadow_shared.hh.
References blender::draw::BLI_STATIC_ASSERT(), blender::data, and shadow_page_unpack().
Referenced by shadow_page_unpack(), shadow_sampling_tile_unpack(), and shadow_tile_unpack().
|
inlinestatic |
Definition at line 352 of file eevee_shadow_shared.hh.
References blender::eevee::ShadowTileData::is_used, blender::eevee::ShadowTileData::page, shadow_sampling_tile_create(), and tile.
Referenced by shadow_sampling_tile_create().
|
inlinestatic |
Definition at line 330 of file eevee_shadow_shared.hh.
References blender::draw::BLI_STATIC_ASSERT(), blender::data, shadow_lod_offset_pack(), shadow_page_pack(), shadow_sampling_tile_pack(), ShadowSamplingTilePacked, and tile.
Referenced by shadow_sampling_tile_pack().
|
inlinestatic |
Definition at line 307 of file eevee_shadow_shared.hh.
References blender::draw::BLI_STATIC_ASSERT(), blender::data, shadow_lod_offset_unpack(), shadow_page_unpack(), shadow_sampling_tile_unpack(), ShadowSamplingTilePacked, and tile.
Referenced by shadow_sampling_tile_unpack().
|
inlinestatic |
Definition at line 254 of file eevee_shadow_shared.hh.
References blender::draw::BLI_STATIC_ASSERT(), blender::data, SHADOW_DO_UPDATE, SHADOW_IS_ALLOCATED, SHADOW_IS_CACHED, SHADOW_IS_RENDERED, SHADOW_IS_USED, shadow_page_pack(), shadow_tile_pack(), ShadowTileDataPacked, and tile.
Referenced by shadow_tile_pack().
|
inlinestatic |
Definition at line 234 of file eevee_shadow_shared.hh.
References blender::draw::BLI_STATIC_ASSERT(), blender::data, SHADOW_DO_UPDATE, SHADOW_IS_ALLOCATED, SHADOW_IS_CACHED, SHADOW_IS_RENDERED, SHADOW_IS_USED, shadow_page_unpack(), shadow_tile_unpack(), ShadowTileDataPacked, and tile.
Referenced by shadow_tile_unpack().
Definition at line 64 of file eevee_velocity.cc.
References blender::DRW_object_is_renderable(), blender::DRW_object_visibility_in_active_context(), ELEM, foreach_hair_particle(), blender::OB_CURVES, blender::OB_MESH, blender::OB_POINTCLOUD, blender::OB_VISIBLE_PARTICLES, blender::OB_VISIBLE_SELF, blender::draw::ObjectRef::object, blender::eevee::VelocityModule::step_object_sync(), step_object_sync_render(), blender::eevee::Instance::sync, blender::eevee::SyncModule::sync_object(), blender::Object::type, and blender::eevee::Instance::velocity.
Referenced by step_object_sync_render().
|
static |
Definition at line 1580 of file eevee_shader.cc.
References blender::DEG_get_original(), blender::DEG_is_active(), blender::DRWContext::depsgraph, blender::DRW_context_get(), blender::GPUMaterialFromNodeTreeResult::errors, blender::bNode::identifier, lock, blender::GPUMaterialFromNodeTreeResult::Error::message, blender::GPUMaterialFromNodeTreeResult::Error::node, store_node_tree_errors(), and blender::GPUMaterialFromNodeTreeResult::Error::type.
Referenced by blender::eevee::ShaderModule::material_shader_get(), store_node_tree_errors(), and blender::eevee::ShaderModule::world_shader_get().
Definition at line 77 of file eevee_camera.cc.
References tan_range_reaches_minus_one(), and tan_range_reaches_one().
Referenced by panoramic_equiangular_cubemap_face_view_mask_get(), and tan_range_reaches_minus_one().
Definition at line 67 of file eevee_camera.cc.
References blender::BLI_assert(), ceilf, float, floorf, M_PI_2, M_PI_4, and tan_range_reaches_one().
Referenced by panoramic_equiangular_cubemap_face_view_mask_get(), tan_range_reaches_minus_one(), and tan_range_reaches_one().
|
inlinestatic |
Definition at line 52 of file eevee_material.hh.
References ATTR_FALLTHROUGH, blender::MA_DISPLACEMENT_BOTH, blender::MA_DISPLACEMENT_DISPLACE, MAT_DISPLACEMENT_BUMP, MAT_DISPLACEMENT_VERTEX_WITH_BUMP, and to_displacement_type().
Referenced by blender::eevee::MaterialKey::MaterialKey(), and to_displacement_type().
|
inlinestatic |
Definition at line 186 of file eevee_material.hh.
References CLOSURE_CLEARCOAT, CLOSURE_DIFFUSE, CLOSURE_REFLECTION, CLOSURE_REFRACTION, CLOSURE_SSS, CLOSURE_TRANSLUCENT, blender::count_bits_i(), and to_gbuffer_bin_count().
Referenced by to_gbuffer_bin_count().
|
static |
Definition at line 34 of file eevee_light.cc.
References ELEM, blender::LA_AREA, blender::LA_AREA_DISK, blender::LA_AREA_ELLIPSE, blender::LA_LOCAL, blender::LA_SPOT, blender::LA_SUN, LIGHT_ELLIPSE, LIGHT_OMNI_DISK, LIGHT_OMNI_SPHERE, LIGHT_RECT, LIGHT_SPOT_DISK, LIGHT_SPOT_SPHERE, LIGHT_SUN, and to_light_type().
Referenced by blender::eevee::Light::sync(), and to_light_type().
|
inlinestatic |
Definition at line 224 of file eevee_material.hh.
References MAT_GEOM_CURVES, MAT_GEOM_MESH, MAT_GEOM_VOLUME, blender::OB_CURVES, blender::OB_POINTCLOUD, blender::OB_VOLUME, to_material_geometry(), to_pointcloud_material_geometry(), and blender::Object::type.
Referenced by to_material_geometry().
|
inlinestatic |
Definition at line 217 of file eevee_material.hh.
References blender::BLI_assert(), blender::DRW_object_get_data_for_drawing(), blender::GSplat, MAT_GEOM_GSPLAT, MAT_GEOM_POINTCLOUD, blender::OB_POINTCLOUD, to_pointcloud_material_geometry(), blender::Object::type, and blender::PointCloud::type.
Referenced by to_material_geometry(), and to_pointcloud_material_geometry().
|
inlinestatic |
Definition at line 71 of file eevee_material.hh.
References blender::MA_THICKNESS_SLAB, MAT_THICKNESS_SLAB, MAT_THICKNESS_SPHERE, and to_thickness_type().
Referenced by blender::eevee::MaterialKey::MaterialKey(), and to_thickness_type().
Definition at line 91 of file eevee_transform.hh.
References transform_direction(), blender::eevee::Transform::x, blender::eevee::Transform::y, and blender::eevee::Transform::z.
Referenced by transform_direction().
|
inlinestatic |
Definition at line 98 of file eevee_transform.hh.
References transform_direction_transposed(), blender::eevee::Transform::x, blender::eevee::Transform::y, and blender::eevee::Transform::z.
Referenced by transform_direction_transposed().
Definition at line 70 of file eevee_transform.hh.
References transform_from_matrix(), blender::eevee::Transform::x, blender::eevee::Transform::y, and blender::eevee::Transform::z.
Referenced by transform_from_matrix().
Definition at line 86 of file eevee_transform.hh.
References transform_point(), blender::eevee::Transform::x, blender::eevee::Transform::y, and blender::eevee::Transform::z.
Referenced by transform_point().
Definition at line 107 of file eevee_transform.hh.
References blender::eevee::Transform::location(), transform_point_inversed(), blender::eevee::Transform::x, blender::eevee::Transform::y, and blender::eevee::Transform::z.
Referenced by transform_point_inversed().
Definition at line 62 of file eevee_transform.hh.
References transform_to_matrix(), blender::eevee::Transform::x, blender::eevee::Transform::y, and blender::eevee::Transform::z.
Referenced by transform_to_matrix().
Definition at line 25 of file eevee_light.cc.
References blender::data, and uint64_to_uint2().
Referenced by blender::eevee::Light::sync(), and uint64_to_uint2().
|
static |
Definition at line 290 of file eevee_film.cc.
References blender::EEVEE_RENDER_PASS_DIFFUSE_COLOR, blender::EEVEE_RENDER_PASS_DIFFUSE_LIGHT, blender::EEVEE_RENDER_PASS_SPECULAR_COLOR, blender::EEVEE_RENDER_PASS_SPECULAR_LIGHT, and with_light_pass_color_dependencies().
Referenced by blender::eevee::Film::init(), and with_light_pass_color_dependencies().
|
staticconstexpr |
Definition at line 22 of file eevee_renderbuffers_shared.hh.
|
staticconstexpr |
Definition at line 271 of file eevee_light_shared.hh.
|
staticconstexpr |
Definition at line 275 of file eevee_light_shared.hh.
|
staticconstexpr |
Definition at line 273 of file eevee_light_shared.hh.
|
staticconstexpr |
Definition at line 25 of file eevee_depth_of_field_shared.hh.
|
staticconstexpr |
Definition at line 23 of file eevee_depth_of_field_shared.hh.
|
staticconstexpr |
Definition at line 24 of file eevee_depth_of_field_shared.hh.
|
staticconstexpr |
Definition at line 20 of file eevee_film_shared.hh.
|
staticconstexpr |
Definition at line 19 of file eevee_film_shared.hh.
|
constexpr |
Definition at line 45 of file eevee_camera.cc.
Referenced by panoramic_view_mask_get().
|
constexpr |
Definition at line 46 of file eevee_camera.cc.
Referenced by panoramic_fisheye_view_mask_get().
|
staticconstexpr |
IMPORTANT: Make sure the array can contain all sampling dimensions. Also note that it needs to be multiple of 4.
Definition at line 61 of file eevee_sampling_shared.hh.
|
staticconstexpr |
Definition at line 42 of file eevee_shadow.hh.
|
staticconstexpr |
Definition at line 32 of file eevee_shadow.hh.
|
staticconstexpr |
Definition at line 20 of file eevee_subsurface_shared.hh.
|
staticconstexpr |
Definition at line 21 of file eevee_subsurface_shared.hh.
|
staticconstexpr |
Definition at line 19 of file eevee_subsurface_shared.hh.
|
staticconstexpr |
Definition at line 26 of file eevee_subsurface_shared.hh.
|
staticconstexpr |
Definition at line 23 of file eevee_subsurface_shared.hh.
|
staticconstexpr |
Definition at line 24 of file eevee_subsurface_shared.hh.
|
staticconstexpr |
Definition at line 22 of file eevee_subsurface_shared.hh.
|
staticconstexpr |
Definition at line 27 of file eevee_subsurface_shared.hh.