|
Blender V5.3
|
Classes | |
| class | AntiAliasingPass |
| class | CavityEffect |
| class | DofPass |
| struct | Engine |
| class | Instance |
| struct | Material |
| struct | MaterialTexture |
| class | MeshPass |
| struct | ObjectState |
| class | OpaquePass |
| class | OutlinePass |
| struct | SceneResources |
| struct | SceneState |
| class | ShaderCache |
| class | ShadowPass |
| class | TaaSamples |
| class | TransparentDepthPass |
| class | TransparentPass |
| class | VolumePass |
Typedefs | |
| using | StaticShader = gpu::StaticShader |
Enumerations | |
| enum class | eGeometryType { MESH = 0 , CURVES , POINTCLOUD , GSPLAT } |
| enum class | ePipelineType { OPAQUE = 0 , TRANSPARENT } |
| enum class | eLightingType { FLAT = 0 , STUDIO , MATCAP } |
| enum class | eShaderType { MATERIAL = 0 , TEXTURE } |
| enum class | StencilBits : uint8_t { BACKGROUND = 0 , OBJECT = 1u << 0 , OBJECT_IN_FRONT = 1u << 1 } |
Variables | |
| static constexpr int | geometry_type_len = static_cast<int>(eGeometryType::GSPLAT) + 1 |
| static constexpr int | pipeline_type_len = static_cast<int>(ePipelineType::TRANSPARENT) + 1 |
| static constexpr int | lighting_type_len = static_cast<int>(eLightingType::MATCAP) + 1 |
| static constexpr int | shader_type_len = static_cast<int>(eShaderType::TEXTURE) + 1 |
Definition at line 30 of file workbench_private.hh.
|
strong |
| Enumerator | |
|---|---|
| MESH | |
| CURVES | |
| POINTCLOUD | |
| GSPLAT | |
Definition at line 16 of file workbench_enums.hh.
|
strong |
| Enumerator | |
|---|---|
| FLAT | |
| STUDIO | |
| MATCAP | |
Definition at line 54 of file workbench_enums.hh.
|
strong |
| Enumerator | |
|---|---|
| OPAQUE | |
| TRANSPARENT | |
Definition at line 48 of file workbench_enums.hh.
|
strong |
| Enumerator | |
|---|---|
| MATERIAL | |
| TEXTURE | |
Definition at line 76 of file workbench_enums.hh.
|
strong |
| Enumerator | |
|---|---|
| BACKGROUND | |
| OBJECT | |
| OBJECT_IN_FRONT | |
Definition at line 343 of file workbench_private.hh.
Definition at line 88 of file workbench_effect_antialiasing.cc.
References blender::clamp_f(), blender::math::cos(), filter_blackman_harris(), M_PI, and blender::x.
Referenced by filter_blackman_harris(), and setup_taa_weights().
|
inlinestatic |
Definition at line 36 of file workbench_enums.hh.
References CURVES, geometry_type_from_object(), GSPLAT, MESH, blender::OB_CURVES, blender::OB_POINTCLOUD, POINTCLOUD, blender::draw::pointcloud_is_gsplat(), and blender::Object::type.
Referenced by geometry_type_from_object().
|
static |
Definition at line 69 of file workbench_resources.cc.
References blender::SolidLight::col, SolidLightData::diffuse_color_wrap, SolidLightData::direction, blender::SolidLight::flag, get_light_data_from_studio_solidlight(), blender::SolidLight::smooth, blender::SolidLight::spec, SolidLightData::specular_color, blender::math::transform_direction(), and blender::SolidLight::vec.
Referenced by get_light_data_from_studio_solidlight(), and blender::workbench::SceneResources::init().
|
static |
Definition at line 27 of file workbench_resources.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), blender::BKE_studiolight_ensure_flag(), blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), blender::ImBuf::float_data(), get_matcap_tx(), blender::GPU_TEXTURE_USAGE_SHADER_READ, blender::StudioLightImage::ibuf, blender::StudioLight::matcap_diffuse, blender::StudioLight::matcap_specular, blender::StudioLight::name, blender::STUDIOLIGHT_MATCAP_DIFFUSE_GPUTEXTURE, blender::STUDIOLIGHT_MATCAP_SPECULAR_GPUTEXTURE, blender::draw::Texture::Texture(), blender::ImBuf::x, and blender::ImBuf::y.
Referenced by get_matcap_tx(), and blender::workbench::SceneResources::init().
| ImageGPUTextures blender::workbench::get_material_texture | ( | GPUSamplerState & | sampler_state | ) |
References get_material_texture().
Referenced by get_material_texture().
|
inlinestatic |
Definition at line 19 of file workbench_enums.hh.
References BLI_assert_unreachable, CURVES, get_name(), GSPLAT, MESH, and POINTCLOUD.
Referenced by get_name(), and get_name().
|
inlinestatic |
Definition at line 87 of file workbench_enums.hh.
References BLI_assert_unreachable, get_name(), MATERIAL, and TEXTURE.
|
static |
Definition at line 82 of file workbench_effect_antialiasing.cc.
References get_taa_samples().
Referenced by get_taa_samples(), and blender::workbench::AntiAliasingPass::setup_view().
Definition at line 58 of file workbench_resources.cc.
References blender::axis_angle_to_mat4_single(), blender::draw::View::default_get(), get_world_shading_rotation_matrix(), blender::mul_m4_m4m4(), blender::negate_v3(), R, blender::swap_v3_v3(), V, and blender::draw::View::viewmat().
Referenced by get_world_shading_rotation_matrix(), and blender::workbench::SceneResources::init().
|
inlinestatic |
Definition at line 61 of file workbench_enums.hh.
References BLI_assert_unreachable, FLAT, lighting_type_from_v3d_lighting(), MATCAP, STUDIO, blender::V3D_LIGHTING_FLAT, blender::V3D_LIGHTING_MATCAP, and blender::V3D_LIGHTING_STUDIO.
Referenced by lighting_type_from_v3d_lighting().
|
static |
Definition at line 277 of file workbench_state.cc.
References blender::BKE_editmesh_bmesh_get(), blender::bm, blender::BM_data_layer_lookup(), blender::BMDataLayerLookup::domain, blender::bke::mesh::is_color_attribute(), blender::blender::StringRefBase::is_empty(), blender::bke::AttributeAccessor::lookup_meta_data(), blender::ME_WRAPPER_TYPE_BMESH, mesh_has_color_attribute(), and blender::BMDataLayerLookup::type.
Referenced by mesh_has_color_attribute(), and blender::workbench::ObjectState::ObjectState().
|
static |
Definition at line 293 of file workbench_state.cc.
References blender::BKE_editmesh_bmesh_get(), blender::bm, blender::BM_data_layer_lookup(), blender::BMDataLayerLookup::domain, blender::bke::mesh::is_uv_map(), blender::bke::AttributeAccessor::lookup_meta_data(), blender::ME_WRAPPER_TYPE_BMESH, mesh_has_uv_map_attribute(), and blender::BMDataLayerLookup::type.
Referenced by mesh_has_uv_map_attribute(), and blender::workbench::ObjectState::ObjectState().
|
static |
Definition at line 34 of file workbench_state.cc.
References b, blender::View3DShading::background_color, blender::View3DShading::background_type, blender::View3DShading::cavity_ridge_factor, blender::View3DShading::cavity_type, blender::View3DShading::cavity_valley_factor, blender::View3DShading::color_type, blender::View3DShading::curvature_ridge_factor, blender::View3DShading::curvature_valley_factor, blender::View3DShading::flag, blender::View3DShading::light, blender::View3DShading::matcap, blender::View3DShading::object_outline_color, blender::eevee::operator!=(), blender::View3DShading::shadow_intensity, blender::View3DShading::single_color, blender::StringRefNull::StringRefNull(), blender::View3DShading::studio_light, blender::View3DShading::studiolight_rot_z, blender::View3DShading::type, blender::View3DShading::wire_color_type, blender::View3DShading::xray_alpha, and blender::View3DShading::xray_alpha_wire.
|
static |
Definition at line 99 of file workbench_effect_antialiasing.cc.
References filter_blackman_harris(), blender::len_v2(), setup_taa_weights(), blender::x, and y.
Referenced by setup_taa_weights(), and blender::workbench::AntiAliasingPass::setup_view().
|
inlinestatic |
Definition at line 82 of file workbench_enums.hh.
References MATERIAL, shader_type_from_v3d_shading(), TEXTURE, and blender::V3D_SHADING_TEXTURE_COLOR.
Referenced by shader_type_from_v3d_shading().
Transform [-1..1] square to unit circle.
Definition at line 30 of file workbench_effect_dof.cc.
References M_PI_4, square_to_circle(), T, blender::x, and y.
Referenced by square_to_circle().
|
staticconstexpr |
Definition at line 17 of file workbench_enums.hh.
|
staticconstexpr |
Definition at line 59 of file workbench_enums.hh.
|
staticconstexpr |
Definition at line 52 of file workbench_enums.hh.
|
staticconstexpr |
Definition at line 80 of file workbench_enums.hh.