Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Show First 20 Lines • Show All 1,450 Lines • ▼ Show 20 Lines | |||||
| typedef struct KernelLight { | typedef struct KernelLight { | ||||
| int type; | int type; | ||||
| float co[3]; | float co[3]; | ||||
| int shader_id; | int shader_id; | ||||
| int samples; | int samples; | ||||
| float max_bounces; | float max_bounces; | ||||
| float random; | float random; | ||||
| float strength[3]; | |||||
| float pad1; | |||||
| Transform tfm; | Transform tfm; | ||||
| Transform itfm; | Transform itfm; | ||||
| union { | union { | ||||
| KernelSpotLight spot; | KernelSpotLight spot; | ||||
| KernelAreaLight area; | KernelAreaLight area; | ||||
| KernelDistantLight distant; | KernelDistantLight distant; | ||||
| }; | }; | ||||
| } KernelLight; | } KernelLight; | ||||
| ▲ Show 20 Lines • Show All 172 Lines • Show Last 20 Lines | |||||