Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Show First 20 Lines • Show All 1,300 Lines • ▼ Show 20 Lines | |||||
| typedef struct KernelIntegrator { | typedef struct KernelIntegrator { | ||||
| /* emission */ | /* emission */ | ||||
| int use_direct_light; | int use_direct_light; | ||||
| int use_ambient_occlusion; | int use_ambient_occlusion; | ||||
| int num_distribution; | int num_distribution; | ||||
| int num_all_lights; | int num_all_lights; | ||||
| float pdf_triangles; | float pdf_triangles; | ||||
| float pdf_lights; | float pdf_lights; | ||||
| int pdf_background_res; | int pdf_background_res_x; | ||||
| int pdf_background_res_y; | |||||
| float light_inv_rr_threshold; | float light_inv_rr_threshold; | ||||
| /* light portals */ | /* light portals */ | ||||
| float portal_pdf; | float portal_pdf; | ||||
| int num_portals; | int num_portals; | ||||
| int portal_offset; | int portal_offset; | ||||
| /* bounces */ | /* bounces */ | ||||
| ▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | typedef struct KernelIntegrator { | ||||
| int use_volumes; | int use_volumes; | ||||
| int volume_max_steps; | int volume_max_steps; | ||||
| float volume_step_size; | float volume_step_size; | ||||
| int volume_samples; | int volume_samples; | ||||
| int start_sample; | int start_sample; | ||||
| int max_closures; | int max_closures; | ||||
| int pad1, pad2, pad3; | |||||
| } KernelIntegrator; | } KernelIntegrator; | ||||
| static_assert_align(KernelIntegrator, 16); | static_assert_align(KernelIntegrator, 16); | ||||
| typedef enum KernelBVHLayout { | typedef enum KernelBVHLayout { | ||||
| BVH_LAYOUT_NONE = 0, | BVH_LAYOUT_NONE = 0, | ||||
| BVH_LAYOUT_BVH2 = (1 << 0), | BVH_LAYOUT_BVH2 = (1 << 0), | ||||
| BVH_LAYOUT_BVH4 = (1 << 1), | BVH_LAYOUT_BVH4 = (1 << 1), | ||||
| ▲ Show 20 Lines • Show All 289 Lines • Show Last 20 Lines | |||||