14 : use_scene_world(true),
15 use_scene_lights(true),
16 studiolight_rotate_z(0.0f),
17 studiolight_intensity(1.0f),
18 studiolight_background_alpha(1.0f),
20 show_active_pixels(false)
36 if (shading.type() == BL::View3DShading::type_RENDERED) {
57 if (!display_pass_identifier.empty()) {
58 const ustring pass_type_identifier(
string_to_lower(display_pass_identifier));
60 if (pass_type_enum->
exists(pass_type_identifier)) {
65 if (use_developer_ui) {
struct View3DShading View3DShading
bool shader_modified(const BlenderViewportParameters &other) const
float studiolight_rotate_z
float studiolight_intensity
BlenderViewportParameters()
bool film_modified(const BlenderViewportParameters &other) const
bool use_custom_shader() const
float studiolight_background_alpha
bool modified(const BlenderViewportParameters &other) const
static const NodeEnum * get_type_enum()
#define CCL_NAMESPACE_END
static bool get_boolean(PointerRNA &ptr, const char *name)
static string get_enum_identifier(PointerRNA &ptr, const char *name)
PointerRNA RNA_pointer_get(PointerRNA *ptr, const char *name)
string string_to_lower(const string &s)
bool exists(ustring x) const