Blender  V3.3
Public Attributes | List of all members
View3DShading Struct Reference

#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 IDPropertyprop
 
void_pad2
 

Detailed Description

3D Viewport Shading settings.

Definition at line 135 of file DNA_view3d_types.h.

Member Data Documentation

◆ _pad

char View3DShading::_pad[2]

Definition at line 149 of file DNA_view3d_types.h.

◆ _pad2

void* View3DShading::_pad2

Definition at line 183 of file DNA_view3d_types.h.

◆ aov_name

char View3DShading::aov_name[64]

Definition at line 180 of file DNA_view3d_types.h.

Referenced by EEVEE_renderpasses_init().

◆ background_color

float View3DShading::background_color[3]

◆ background_type

char View3DShading::background_type

◆ cavity_ridge_factor

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().

◆ cavity_type

char View3DShading::cavity_type

Definition at line 147 of file DNA_view3d_types.h.

Referenced by blo_update_defaults_screen().

◆ cavity_valley_factor

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().

◆ color_type

char View3DShading::color_type

◆ curvature_ridge_factor

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().

◆ curvature_valley_factor

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().

◆ flag

short View3DShading::flag

◆ light

char View3DShading::light

◆ lookdev_light

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().

◆ matcap

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().

◆ object_outline_color

float View3DShading::object_outline_color[3]

Definition at line 166 of file DNA_view3d_types.h.

Referenced by workbench_update_world_ubo().

◆ prev_type

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().

◆ prev_type_wire

char View3DShading::prev_type_wire

Definition at line 140 of file DNA_view3d_types.h.

Referenced by toggle_shading_exec().

◆ prop

struct IDProperty* View3DShading::prop

◆ render_pass

int View3DShading::render_pass

◆ shadow_intensity

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().

◆ single_color

float View3DShading::single_color[3]

◆ studio_light

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().

◆ studiolight_background

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().

◆ studiolight_blur

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().

◆ studiolight_intensity

float View3DShading::studiolight_intensity

◆ studiolight_rot_z

float View3DShading::studiolight_rot_z

◆ type

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().

◆ wire_color_type

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().

◆ xray_alpha

float View3DShading::xray_alpha

◆ xray_alpha_wire

float View3DShading::xray_alpha_wire

Definition at line 168 of file DNA_view3d_types.h.

Referenced by blo_update_defaults_screen().


The documentation for this struct was generated from the following file: