|
Blender V5.0
|
Classes | |
| class | TaaSamples |
| class | Instance |
| struct | Engine |
| class | ShaderCache |
| struct | Material |
| struct | SceneState |
| struct | MaterialTexture |
| struct | ObjectState |
| class | CavityEffect |
| struct | SceneResources |
| class | MeshPass |
| class | OpaquePass |
| class | TransparentPass |
| class | TransparentDepthPass |
| class | ShadowPass |
| class | VolumePass |
| class | OutlinePass |
| class | DofPass |
| class | AntiAliasingPass |
Typedefs | |
| using | StaticShader = gpu::StaticShader |
Enumerations | |
| enum class | eGeometryType { MESH = 0 , CURVES , POINTCLOUD } |
| 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::POINTCLOUD) + 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 23 of file workbench_private.hh.
|
strong |
| Enumerator | |
|---|---|
| MESH | |
| CURVES | |
| POINTCLOUD | |
Definition at line 11 of file workbench_enums.hh.
|
strong |
| Enumerator | |
|---|---|
| FLAT | |
| STUDIO | |
| MATCAP | |
Definition at line 51 of file workbench_enums.hh.
|
strong |
| Enumerator | |
|---|---|
| OPAQUE | |
| TRANSPARENT | |
Definition at line 45 of file workbench_enums.hh.
|
strong |
| Enumerator | |
|---|---|
| MATERIAL | |
| TEXTURE | |
Definition at line 73 of file workbench_enums.hh.
|
strong |
| Enumerator | |
|---|---|
| BACKGROUND | |
| OBJECT | |
| OBJECT_IN_FRONT | |
Definition at line 323 of file workbench_private.hh.
Definition at line 84 of file workbench_effect_antialiasing.cc.
References clamp_f(), blender::math::cos(), M_PI, and x.
Referenced by setup_taa_weights().
|
inlinestatic |
Definition at line 33 of file workbench_enums.hh.
References CURVES, MESH, OB_CURVES, OB_POINTCLOUD, POINTCLOUD, and Object::type.
|
static |
Definition at line 63 of file workbench_resources.cc.
References SolidLight::col, LightData::diffuse_color_wrap, LightData::direction, SolidLight::flag, SolidLight::smooth, SolidLight::spec, LightData::specular_color, blender::math::transform_direction(), and SolidLight::vec.
Referenced by blender::workbench::SceneResources::init().
|
static |
Definition at line 251 of file workbench_state.cc.
References BLI_assert, Mesh::corner_data, ME_WRAPPER_TYPE_BMESH, and Mesh::runtime.
Referenced by blender::workbench::ObjectState::ObjectState().
|
static |
Definition at line 21 of file workbench_resources.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), BKE_studiolight_ensure_flag(), ImBufFloatBuffer::data, blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), ImBuf::float_buffer, GPU_TEXTURE_USAGE_SHADER_READ, StudioLightImage::ibuf, StudioLight::matcap_diffuse, StudioLight::matcap_specular, StudioLight::name, size(), STUDIOLIGHT_MATCAP_DIFFUSE_GPUTEXTURE, STUDIOLIGHT_MATCAP_SPECULAR_GPUTEXTURE, ImBuf::x, and ImBuf::y.
Referenced by 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 18 of file workbench_enums.hh.
References BLI_assert_unreachable, CURVES, MESH, and POINTCLOUD.
|
inlinestatic |
Definition at line 84 of file workbench_enums.hh.
References BLI_assert_unreachable, MATERIAL, and TEXTURE.
|
static |
Definition at line 78 of file workbench_effect_antialiasing.cc.
Referenced by blender::workbench::AntiAliasingPass::setup_view().
|
static |
Definition at line 261 of file workbench_state.cc.
References BLI_assert, ME_WRAPPER_TYPE_BMESH, Mesh::runtime, and Mesh::vert_data.
Referenced by blender::workbench::ObjectState::ObjectState().
Definition at line 52 of file workbench_resources.cc.
References axis_angle_to_mat4_single(), blender::draw::View::default_get(), mul_m4_m4m4(), negate_v3(), R, swap_v3_v3(), V, and blender::draw::View::viewmat().
Referenced by blender::workbench::SceneResources::init().
|
inlinestatic |
Definition at line 58 of file workbench_enums.hh.
References BLI_assert_unreachable, FLAT, MATCAP, STUDIO, V3D_LIGHTING_FLAT, V3D_LIGHTING_MATCAP, and V3D_LIGHTING_STUDIO.
Referenced by blender::workbench::SceneState::init().
|
static |
Definition at line 28 of file workbench_state.cc.
References b, View3DShading::background_color, View3DShading::background_type, View3DShading::cavity_ridge_factor, View3DShading::cavity_type, View3DShading::cavity_valley_factor, View3DShading::color_type, View3DShading::curvature_ridge_factor, View3DShading::curvature_valley_factor, View3DShading::flag, View3DShading::light, View3DShading::matcap, View3DShading::object_outline_color, View3DShading::shadow_intensity, View3DShading::single_color, View3DShading::studio_light, View3DShading::studiolight_rot_z, View3DShading::type, View3DShading::wire_color_type, View3DShading::xray_alpha, and View3DShading::xray_alpha_wire.
|
static |
Definition at line 95 of file workbench_effect_antialiasing.cc.
References filter_blackman_harris(), i, len_v2(), x, and y.
Referenced by blender::workbench::AntiAliasingPass::setup_view().
|
inlinestatic |
Definition at line 79 of file workbench_enums.hh.
References MATERIAL, TEXTURE, and V3D_SHADING_TEXTURE_COLOR.
|
staticconstexpr |
Definition at line 16 of file workbench_enums.hh.
Referenced by blender::workbench::MeshPass::init_subpasses(), and blender::workbench::ShaderCache::ShaderCache().
|
staticconstexpr |
Definition at line 56 of file workbench_enums.hh.
Referenced by blender::workbench::ShaderCache::ShaderCache().
|
staticconstexpr |
Definition at line 49 of file workbench_enums.hh.
Referenced by blender::workbench::ShaderCache::ShaderCache().
|
staticconstexpr |
Definition at line 77 of file workbench_enums.hh.
Referenced by blender::workbench::MeshPass::init_subpasses(), and blender::workbench::ShaderCache::ShaderCache().