Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Show First 20 Lines • Show All 332 Lines • ▼ Show 20 Lines | enum PathRayFlag { | ||||
| PATH_RAY_ALL_VISIBILITY = ((1 << 14)-1), | PATH_RAY_ALL_VISIBILITY = ((1 << 14)-1), | ||||
| PATH_RAY_MIS_SKIP = (1 << 15), | PATH_RAY_MIS_SKIP = (1 << 15), | ||||
| PATH_RAY_DIFFUSE_ANCESTOR = (1 << 16), | PATH_RAY_DIFFUSE_ANCESTOR = (1 << 16), | ||||
| PATH_RAY_SINGLE_PASS_DONE = (1 << 17), | PATH_RAY_SINGLE_PASS_DONE = (1 << 17), | ||||
| PATH_RAY_SHADOW_CATCHER = (1 << 18), | PATH_RAY_SHADOW_CATCHER = (1 << 18), | ||||
| PATH_RAY_STORE_SHADOW_INFO = (1 << 19), | PATH_RAY_STORE_SHADOW_INFO = (1 << 19), | ||||
| PATH_RAY_TRANSPARENT_GLASS = (1 << 20), | |||||
| }; | }; | ||||
| /* Closure Label */ | /* Closure Label */ | ||||
| typedef enum ClosureLabel { | typedef enum ClosureLabel { | ||||
| LABEL_NONE = 0, | LABEL_NONE = 0, | ||||
| LABEL_TRANSMIT = 1, | LABEL_TRANSMIT = 1, | ||||
| LABEL_REFLECT = 2, | LABEL_REFLECT = 2, | ||||
| ▲ Show 20 Lines • Show All 855 Lines • ▼ Show 20 Lines | |||||
| } KernelFilm; | } KernelFilm; | ||||
| static_assert_align(KernelFilm, 16); | static_assert_align(KernelFilm, 16); | ||||
| typedef struct KernelBackground { | typedef struct KernelBackground { | ||||
| /* only shader index */ | /* only shader index */ | ||||
| int surface_shader; | int surface_shader; | ||||
| int volume_shader; | int volume_shader; | ||||
| int transparent; | int transparent; | ||||
| int pad; | float glass_threshold_sqr; | ||||
| /* ambient occlusion */ | /* ambient occlusion */ | ||||
| float ao_factor; | float ao_factor; | ||||
| float ao_distance; | float ao_distance; | ||||
| float ao_bounces_factor; | float ao_bounces_factor; | ||||
| float ao_pad; | float ao_pad; | ||||
| } KernelBackground; | } KernelBackground; | ||||
| static_assert_align(KernelBackground, 16); | static_assert_align(KernelBackground, 16); | ||||
| ▲ Show 20 Lines • Show All 249 Lines • Show Last 20 Lines | |||||