Blender  V2.93
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 150 of file DNA_view3d_types.h.

Member Data Documentation

◆ _pad

char View3DShading::_pad[2]

Definition at line 164 of file DNA_view3d_types.h.

◆ _pad2

void* View3DShading::_pad2

Definition at line 198 of file DNA_view3d_types.h.

◆ aov_name

char View3DShading::aov_name[64]

Definition at line 195 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 186 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 162 of file DNA_view3d_types.h.

Referenced by blo_update_defaults_screen().

◆ cavity_valley_factor

float View3DShading::cavity_valley_factor

Definition at line 185 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 190 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 191 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 169 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 171 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 181 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 154 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 155 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 173 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 167 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 177 of file DNA_view3d_types.h.

Referenced by EEVEE_lookdev_cache_init().

◆ studiolight_blur

float View3DShading::studiolight_blur

Definition at line 179 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

◆ wire_color_type

char View3DShading::wire_color_type

Definition at line 163 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 183 of file DNA_view3d_types.h.

Referenced by blo_update_defaults_screen().


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