Blender V5.3
blender::SceneDisplay Struct Reference

#include <DNA_scene_types.h>

Public Attributes

float light_direction [3] = {M_SQRT1_3, M_SQRT1_3, M_SQRT1_3}
float shadow_shift = 0.1f
float shadow_focus = 0.0f
float matcap_ssao_distance = 0.2f
float matcap_ssao_attenuation = 1.0f
int matcap_ssao_samples = 16
eSceneDisplay_AA viewport_aa = SCE_DISPLAY_AA_FXAA
eSceneDisplay_AA render_aa = SCE_DISPLAY_AA_SAMPLES_8
char _pad [6] = {}
View3DShading shading

Detailed Description

Scene Display - used for store scene specific display settings for the 3d view.

Definition at line 2585 of file DNA_scene_types.h.

Member Data Documentation

◆ _pad

char blender::SceneDisplay::_pad[6] = {}

Definition at line 2598 of file DNA_scene_types.h.

◆ light_direction

float blender::SceneDisplay::light_direction[3] = {M_SQRT1_3, M_SQRT1_3, M_SQRT1_3}

Light direction for shadows/highlight.

Definition at line 2587 of file DNA_scene_types.h.

Referenced by blender::blo_do_versions_280(), blender::blo_update_defaults_scene(), and blender::workbench::ShadowPass::init().

◆ matcap_ssao_attenuation

float blender::SceneDisplay::matcap_ssao_attenuation = 1.0f

◆ matcap_ssao_distance

float blender::SceneDisplay::matcap_ssao_distance = 0.2f

◆ matcap_ssao_samples

int blender::SceneDisplay::matcap_ssao_samples = 16

◆ render_aa

◆ shading

◆ shadow_focus

float blender::SceneDisplay::shadow_focus = 0.0f

Definition at line 2588 of file DNA_scene_types.h.

Referenced by blender::workbench::ShadowPass::init().

◆ shadow_shift

float blender::SceneDisplay::shadow_shift = 0.1f

◆ viewport_aa

eSceneDisplay_AA blender::SceneDisplay::viewport_aa = SCE_DISPLAY_AA_FXAA

Method of AA for viewport rendering and image rendering.

Definition at line 2596 of file DNA_scene_types.h.

Referenced by blender::blo_do_versions_280(), and blender::workbench::SceneState::init().


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