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

#include <workbench_private.h>

Public Attributes

float viewport_size [2]
 
float viewport_size_inv [2]
 
float object_outline_color [4]
 
float shadow_direction_vs [4]
 
float shadow_focus
 
float shadow_shift
 
float shadow_mul
 
float shadow_add
 
WORKBENCH_UBO_Light lights [4]
 
float ambient_color [4]
 
int cavity_sample_start
 
int cavity_sample_end
 
float cavity_sample_count_inv
 
float cavity_jitter_scale
 
float cavity_valley_factor
 
float cavity_ridge_factor
 
float cavity_attenuation
 
float cavity_distance
 
float curvature_ridge
 
float curvature_valley
 
float ui_scale
 
float _pad0
 
int matcap_orientation
 
int use_specular
 
int _pad1
 
int _pad2
 

Detailed Description

Definition at line 178 of file workbench_private.h.

Member Data Documentation

◆ _pad0

float WORKBENCH_UBO_World::_pad0

Definition at line 199 of file workbench_private.h.

◆ _pad1

int WORKBENCH_UBO_World::_pad1

Definition at line 203 of file workbench_private.h.

◆ _pad2

int WORKBENCH_UBO_World::_pad2

Definition at line 204 of file workbench_private.h.

◆ ambient_color

float WORKBENCH_UBO_World::ambient_color[4]

Definition at line 184 of file workbench_private.h.

Referenced by workbench_studiolight_data_update().

◆ cavity_attenuation

float WORKBENCH_UBO_World::cavity_attenuation

Definition at line 193 of file workbench_private.h.

Referenced by workbench_cavity_data_update().

◆ cavity_distance

float WORKBENCH_UBO_World::cavity_distance

Definition at line 194 of file workbench_private.h.

Referenced by workbench_cavity_data_update().

◆ cavity_jitter_scale

float WORKBENCH_UBO_World::cavity_jitter_scale

Definition at line 189 of file workbench_private.h.

Referenced by workbench_cavity_data_update().

◆ cavity_ridge_factor

float WORKBENCH_UBO_World::cavity_ridge_factor

Definition at line 192 of file workbench_private.h.

Referenced by workbench_cavity_data_update().

◆ cavity_sample_count_inv

float WORKBENCH_UBO_World::cavity_sample_count_inv

Definition at line 188 of file workbench_private.h.

Referenced by workbench_cavity_data_update().

◆ cavity_sample_end

int WORKBENCH_UBO_World::cavity_sample_end

Definition at line 187 of file workbench_private.h.

Referenced by workbench_cavity_data_update().

◆ cavity_sample_start

int WORKBENCH_UBO_World::cavity_sample_start

Definition at line 186 of file workbench_private.h.

Referenced by workbench_cavity_data_update().

◆ cavity_valley_factor

float WORKBENCH_UBO_World::cavity_valley_factor

Definition at line 191 of file workbench_private.h.

Referenced by workbench_cavity_data_update().

◆ curvature_ridge

float WORKBENCH_UBO_World::curvature_ridge

Definition at line 196 of file workbench_private.h.

Referenced by workbench_cavity_data_update().

◆ curvature_valley

float WORKBENCH_UBO_World::curvature_valley

Definition at line 197 of file workbench_private.h.

Referenced by workbench_cavity_data_update().

◆ lights

WORKBENCH_UBO_Light WORKBENCH_UBO_World::lights[4]

Definition at line 183 of file workbench_private.h.

Referenced by workbench_studiolight_data_update().

◆ matcap_orientation

int WORKBENCH_UBO_World::matcap_orientation

Definition at line 201 of file workbench_private.h.

Referenced by workbench_update_world_ubo().

◆ object_outline_color

float WORKBENCH_UBO_World::object_outline_color[4]

Definition at line 180 of file workbench_private.h.

Referenced by workbench_update_world_ubo().

◆ shadow_add

float WORKBENCH_UBO_World::shadow_add

Definition at line 182 of file workbench_private.h.

Referenced by workbench_shadow_data_update().

◆ shadow_direction_vs

float WORKBENCH_UBO_World::shadow_direction_vs[4]

Definition at line 181 of file workbench_private.h.

Referenced by workbench_shadow_data_update().

◆ shadow_focus

float WORKBENCH_UBO_World::shadow_focus

Definition at line 182 of file workbench_private.h.

Referenced by workbench_shadow_data_update().

◆ shadow_mul

float WORKBENCH_UBO_World::shadow_mul

Definition at line 182 of file workbench_private.h.

Referenced by workbench_shadow_data_update().

◆ shadow_shift

float WORKBENCH_UBO_World::shadow_shift

Definition at line 182 of file workbench_private.h.

Referenced by workbench_shadow_data_update().

◆ ui_scale

float WORKBENCH_UBO_World::ui_scale

Definition at line 198 of file workbench_private.h.

Referenced by workbench_update_world_ubo().

◆ use_specular

int WORKBENCH_UBO_World::use_specular

Definition at line 202 of file workbench_private.h.

Referenced by workbench_studiolight_data_update().

◆ viewport_size

float WORKBENCH_UBO_World::viewport_size[2]

Definition at line 179 of file workbench_private.h.

Referenced by workbench_update_world_ubo().

◆ viewport_size_inv

float WORKBENCH_UBO_World::viewport_size_inv[2]

Definition at line 179 of file workbench_private.h.

Referenced by workbench_update_world_ubo().


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