Blender
V3.3
|
#include <DNA_view3d_types.h>
Public Attributes | |
char | type |
char | prev_type |
char | prev_type_wire |
char | color_type |
short | flag |
char | light |
char | background_type |
char | cavity_type |
char | wire_color_type |
char | _pad [2] |
char | studio_light [256] |
char | lookdev_light [256] |
char | matcap [256] |
float | shadow_intensity |
float | single_color [3] |
float | studiolight_rot_z |
float | studiolight_background |
float | studiolight_intensity |
float | studiolight_blur |
float | object_outline_color [3] |
float | xray_alpha |
float | xray_alpha_wire |
float | cavity_valley_factor |
float | cavity_ridge_factor |
float | background_color [3] |
float | curvature_ridge_factor |
float | curvature_valley_factor |
int | render_pass |
char | aov_name [64] |
struct IDProperty * | prop |
void * | _pad2 |
3D Viewport Shading settings.
Definition at line 135 of file DNA_view3d_types.h.
char View3DShading::_pad[2] |
Definition at line 149 of file DNA_view3d_types.h.
void* View3DShading::_pad2 |
Definition at line 183 of file DNA_view3d_types.h.
char View3DShading::aov_name[64] |
Definition at line 180 of file DNA_view3d_types.h.
Referenced by EEVEE_renderpasses_init().
float View3DShading::background_color[3] |
Definition at line 173 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), blo_update_defaults_screen(), ED_view3d_background_color_get(), and OVERLAY_background_cache_init().
char View3DShading::background_type |
Definition at line 146 of file DNA_view3d_types.h.
Referenced by blo_update_defaults_screen(), ED_view3d_background_color_get(), ED_view3d_draw_offscreen_imbuf_simple(), OVERLAY_background_cache_init(), OVERLAY_fade_cache_init(), and space_view3d_listener().
float View3DShading::cavity_ridge_factor |
Definition at line 171 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), and workbench_cavity_data_update().
char View3DShading::cavity_type |
Definition at line 147 of file DNA_view3d_types.h.
Referenced by blo_update_defaults_screen().
float View3DShading::cavity_valley_factor |
Definition at line 170 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), and workbench_cavity_data_update().
char View3DShading::color_type |
Definition at line 142 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), blo_update_defaults_screen(), ED_view3d_datamask(), ED_view3d_draw_offscreen_imbuf_simple(), ED_view3d_has_workbench_in_texture_color(), GPENCIL_engine_init(), paint_object_is_rendered_transparent(), sculpt_color_filter_invoke(), sculpt_mask_by_color_invoke(), sculpt_stroke_test_start(), workbench_color_type_get(), workbench_material_setup_ex(), and workbench_private_data_init().
float View3DShading::curvature_ridge_factor |
Definition at line 175 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), and workbench_cavity_data_update().
float View3DShading::curvature_valley_factor |
Definition at line 176 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), and workbench_cavity_data_update().
short View3DShading::flag |
Definition at line 143 of file DNA_view3d_types.h.
Referenced by basic_cache_populate(), blo_do_versions_280(), blo_update_defaults_screen(), BLO_update_defaults_workspace(), DRW_draw_render_loop_offscreen(), ED_view3d_draw_offscreen_imbuf_simple(), ED_view3d_draw_offscreen_simple(), EEVEE_lookdev_cache_init(), object_preview_render(), OVERLAY_edit_mesh_cache_init(), paint_object_is_rendered_transparent(), snap_use_backface_culling(), toggle_matcap_flip(), toggle_xray_exec(), blender::eevee::Instance::use_scene_lights(), blender::eevee::Instance::use_studio_light(), workbench_dof_engine_init(), workbench_is_specular_highlight_enabled(), workbench_private_data_init(), and workbench_update_world_ubo().
char View3DShading::light |
Definition at line 145 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), ED_view3d_draw_offscreen_imbuf_simple(), gpencil_material_pool_create(), blender::draw::test_workbench_glsl_shaders(), workbench_opaque_cache_init(), workbench_private_data_init(), workbench_shader_composite_get(), and workbench_shader_get_ex().
char View3DShading::lookdev_light[256] |
FILE_MAXFILE.
Definition at line 154 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), and EEVEE_lookdev_cache_init().
char View3DShading::matcap[256] |
FILE_MAXFILE.
Definition at line 156 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), BLO_update_defaults_workspace(), and workbench_private_data_init().
float View3DShading::object_outline_color[3] |
Definition at line 166 of file DNA_view3d_types.h.
Referenced by workbench_update_world_ubo().
char View3DShading::prev_type |
Runtime, for toggle between rendered viewport.
Definition at line 139 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), direct_link_area(), and toggle_shading_exec().
char View3DShading::prev_type_wire |
Definition at line 140 of file DNA_view3d_types.h.
Referenced by toggle_shading_exec().
struct IDProperty* View3DShading::prop |
Definition at line 182 of file DNA_view3d_types.h.
Referenced by BKE_screen_view3d_shading_blend_read_data(), BKE_screen_view3d_shading_blend_write(), blo_do_versions_280(), scene_copy_data(), scene_free_data(), view3d_duplicate(), view3d_free(), and wm_xr_exit().
int View3DShading::render_pass |
Definition at line 179 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), ED_view3d_draw_offscreen_imbuf_simple(), eevee_hdri_preview_overlay_enabled(), EEVEE_renderpasses_init(), and blender::eevee::Film::init().
float View3DShading::shadow_intensity |
Definition at line 158 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), and workbench_shadow_data_update().
float View3DShading::single_color[3] |
Definition at line 159 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), BLO_update_defaults_workspace(), GPENCIL_engine_init(), and workbench_material_ubo_data().
char View3DShading::studio_light[256] |
FILE_MAXFILE.
Definition at line 152 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), and workbench_private_data_init().
float View3DShading::studiolight_background |
Definition at line 162 of file DNA_view3d_types.h.
Referenced by EEVEE_lookdev_cache_init(), and blender::eevee::Film::init().
float View3DShading::studiolight_blur |
Definition at line 164 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), and EEVEE_lookdev_cache_init().
float View3DShading::studiolight_intensity |
Definition at line 163 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), EEVEE_lookdev_cache_init(), and GPENCIL_engine_init().
float View3DShading::studiolight_rot_z |
Definition at line 161 of file DNA_view3d_types.h.
Referenced by EEVEE_lookdev_cache_init(), and workbench_studiolight_data_update().
char View3DShading::type |
Shading type (OB_SOLID, ..).
Definition at line 137 of file DNA_view3d_types.h.
Referenced by basic_cache_populate(), blend_file_thumb_from_camera(), blo_do_versions_280(), camera_view3d_reconstruction(), check_rendered_viewport_visible(), curve_draw_invoke(), direct_link_area(), blender::draw::color_management::drw_color_management_type_for_v3d(), DRW_draw_depth_loop(), DRW_draw_render_loop(), DRW_draw_render_loop_ex(), DRW_draw_render_loop_offscreen(), DRW_draw_select_loop(), DRW_draw_view(), drw_engines_enable(), ED_render_view3d_update(), ED_view3d_calc_render_border(), ED_view3d_datamask(), ED_view3d_draw_offscreen(), ED_view3d_draw_offscreen_imbuf_simple(), ED_view3d_draw_offscreen_simple(), ED_view3d_has_workbench_in_texture_color(), ED_view3d_shade_update(), ED_view3d_smooth_view_ex(), eevee_hdri_preview_overlay_enabled(), GPENCIL_cache_init(), GPENCIL_engine_init(), OVERLAY_armature_cache_init(), OVERLAY_background_cache_init(), OVERLAY_edit_mesh_cache_init(), OVERLAY_engine_init(), OVERLAY_paint_cache_init(), OVERLAY_wireframe_cache_init(), paint_object_is_rendered_transparent(), pygpu_offscreen_draw_view3d(), screen_opengl_render_doit(), sculpt_color_filter_invoke(), sculpt_mask_by_color_invoke(), sculpt_stroke_test_start(), snap_use_backface_culling(), space_view3d_listener(), texture_paint_image_from_view_exec(), toggle_shading_exec(), toggle_xray_exec(), blender::eevee::Instance::use_scene_lights(), blender::eevee::Instance::use_studio_light(), validate_object_select_id(), view3d_duplicate(), view3d_opengl_select_ex(), view3d_ruler_add_invoke(), wm_xr_draw_view(), workbench_cache_populate(), and workbench_private_data_init().
char View3DShading::wire_color_type |
Definition at line 148 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), and OVERLAY_wireframe_cache_init().
float View3DShading::xray_alpha |
Definition at line 167 of file DNA_view3d_types.h.
Referenced by blo_do_versions_280(), workbench_draw_sample(), workbench_image_setup_ex(), workbench_material_setup_ex(), workbench_material_ubo_data(), and workbench_private_data_init().
float View3DShading::xray_alpha_wire |
Definition at line 168 of file DNA_view3d_types.h.
Referenced by blo_update_defaults_screen().