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

#include <workbench_shader_shared.h>

Public Attributes

float4 viewport_size
 
float4 object_outline_color
 
float4 shadow_direction_vs
 
float shadow_focus
 
float shadow_shift
 
float shadow_mul
 
float shadow_add
 
LightData lights [4]
 
float4 ambient_color
 
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
 
bool use_specular
 
int _pad1
 
int _pad2
 

Detailed Description

Definition at line 15 of file workbench_shader_shared.h.

Member Data Documentation

◆ _pad0

float WorldData::_pad0

Definition at line 40 of file workbench_shader_shared.h.

◆ _pad1

int WorldData::_pad1

Definition at line 44 of file workbench_shader_shared.h.

◆ _pad2

int WorldData::_pad2

Definition at line 45 of file workbench_shader_shared.h.

◆ ambient_color

float4 WorldData::ambient_color

Definition at line 25 of file workbench_shader_shared.h.

◆ cavity_attenuation

float WorldData::cavity_attenuation

Definition at line 34 of file workbench_shader_shared.h.

◆ cavity_distance

float WorldData::cavity_distance

Definition at line 35 of file workbench_shader_shared.h.

◆ cavity_jitter_scale

float WorldData::cavity_jitter_scale

Definition at line 30 of file workbench_shader_shared.h.

◆ cavity_ridge_factor

float WorldData::cavity_ridge_factor

Definition at line 33 of file workbench_shader_shared.h.

◆ cavity_sample_count_inv

float WorldData::cavity_sample_count_inv

Definition at line 29 of file workbench_shader_shared.h.

◆ cavity_sample_end

int WorldData::cavity_sample_end

Definition at line 28 of file workbench_shader_shared.h.

◆ cavity_sample_start

int WorldData::cavity_sample_start

Definition at line 27 of file workbench_shader_shared.h.

◆ cavity_valley_factor

float WorldData::cavity_valley_factor

Definition at line 32 of file workbench_shader_shared.h.

◆ curvature_ridge

float WorldData::curvature_ridge

Definition at line 37 of file workbench_shader_shared.h.

◆ curvature_valley

float WorldData::curvature_valley

Definition at line 38 of file workbench_shader_shared.h.

◆ lights

LightData WorldData::lights[4]

Definition at line 24 of file workbench_shader_shared.h.

◆ matcap_orientation

int WorldData::matcap_orientation

Definition at line 42 of file workbench_shader_shared.h.

◆ object_outline_color

float4 WorldData::object_outline_color

Definition at line 17 of file workbench_shader_shared.h.

◆ shadow_add

float WorldData::shadow_add

Definition at line 22 of file workbench_shader_shared.h.

◆ shadow_direction_vs

float4 WorldData::shadow_direction_vs

Definition at line 18 of file workbench_shader_shared.h.

◆ shadow_focus

float WorldData::shadow_focus

Definition at line 19 of file workbench_shader_shared.h.

◆ shadow_mul

float WorldData::shadow_mul

Definition at line 21 of file workbench_shader_shared.h.

◆ shadow_shift

float WorldData::shadow_shift

Definition at line 20 of file workbench_shader_shared.h.

◆ ui_scale

float WorldData::ui_scale

Definition at line 39 of file workbench_shader_shared.h.

◆ use_specular

bool WorldData::use_specular

Definition at line 43 of file workbench_shader_shared.h.

◆ viewport_size

float4 WorldData::viewport_size

Definition at line 16 of file workbench_shader_shared.h.


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