Blender V5.0
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 1614 of file kernel/types.h.

Member Data Documentation

◆ [union]

union { ... } KernelLight

◆ area

KernelAreaLight KernelLight::area

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

Referenced by LightManager::device_update_lights().

◆ co

packed_float3 KernelLight::co

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

Referenced by LightManager::device_update_lights().

◆ distant

KernelDistantLight KernelLight::distant

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

Referenced by LightManager::device_update_lights().

◆ max_bounces

float KernelLight::max_bounces

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

Referenced by LightManager::device_update_lights().

◆ object_id

int KernelLight::object_id

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

Referenced by LightManager::device_update_lights().

◆ pad

int KernelLight::pad

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

◆ shader_id

int KernelLight::shader_id

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

Referenced by LightManager::device_update_lights().

◆ spot

KernelSpotLight KernelLight::spot

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

Referenced by LightManager::device_update_lights().

◆ strength

float KernelLight::strength[3]

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

Referenced by LightManager::device_update_lights().

◆ type

int KernelLight::type

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

Referenced by LightManager::device_update_lights().

◆ use_caustics

int KernelLight::use_caustics

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

Referenced by LightManager::device_update_lights().


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