Blender V4.5
KernelLight Struct Reference

#include <types.h>

Public Attributes

int type
 
packed_float3 co
 
int shader_id
 
int object_id
 
float max_bounces
 
float strength [3]
 
int use_caustics
 
int pad
 
union { 
 
   KernelSpotLight   spot 
 
   KernelAreaLight   area 
 
   KernelDistantLight   distant 
 
};  
 

Detailed Description

Definition at line 1599 of file kernel/types.h.

Member Data Documentation

◆ [union]

union { ... } KernelLight

◆ area

KernelAreaLight KernelLight::area

Definition at line 1610 of file kernel/types.h.

Referenced by LightManager::device_update_lights().

◆ co

packed_float3 KernelLight::co

Definition at line 1601 of file kernel/types.h.

Referenced by LightManager::device_update_lights().

◆ distant

KernelDistantLight KernelLight::distant

Definition at line 1611 of file kernel/types.h.

Referenced by LightManager::device_update_lights().

◆ max_bounces

float KernelLight::max_bounces

Definition at line 1604 of file kernel/types.h.

Referenced by LightManager::device_update_lights().

◆ object_id

int KernelLight::object_id

Definition at line 1603 of file kernel/types.h.

Referenced by LightManager::device_update_lights().

◆ pad

int KernelLight::pad

Definition at line 1607 of file kernel/types.h.

◆ shader_id

int KernelLight::shader_id

Definition at line 1602 of file kernel/types.h.

Referenced by LightManager::device_update_lights().

◆ spot

KernelSpotLight KernelLight::spot

Definition at line 1609 of file kernel/types.h.

Referenced by LightManager::device_update_lights().

◆ strength

float KernelLight::strength[3]

Definition at line 1605 of file kernel/types.h.

Referenced by LightManager::device_update_lights().

◆ type

int KernelLight::type

Definition at line 1600 of file kernel/types.h.

Referenced by LightManager::device_update_lights().

◆ use_caustics

int KernelLight::use_caustics

Definition at line 1606 of file kernel/types.h.

Referenced by LightManager::device_update_lights().


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