Blender V4.3
KernelLight Struct Reference

#include <types.h>

Public Attributes

int type
 
packed_float3 co
 
int shader_id
 
float max_bounces
 
float random
 
float strength [3]
 
int use_caustics
 
int lightgroup
 
Transform tfm
 
Transform itfm
 
union { 
 
   KernelSpotLight   spot 
 
   KernelAreaLight   area 
 
   KernelDistantLight   distant 
 
};  
 
uint64_t light_set_membership
 
uint64_t shadow_set_membership
 

Detailed Description

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

Member Data Documentation

◆ [union]

union { ... } KernelLight

◆ area

KernelAreaLight KernelLight::area

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

Referenced by LightManager::device_update_lights().

◆ co

packed_float3 KernelLight::co

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

Referenced by LightManager::device_update_lights().

◆ distant

KernelDistantLight KernelLight::distant

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

Referenced by LightManager::device_update_lights().

◆ itfm

Transform KernelLight::itfm

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

Referenced by LightManager::device_update_lights().

◆ light_set_membership

uint64_t KernelLight::light_set_membership

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

Referenced by LightManager::device_update_lights().

◆ lightgroup

int KernelLight::lightgroup

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

Referenced by LightManager::device_update_lights().

◆ max_bounces

float KernelLight::max_bounces

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

Referenced by LightManager::device_update_lights().

◆ random

float KernelLight::random

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

Referenced by LightManager::device_update_lights().

◆ shader_id

int KernelLight::shader_id

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

Referenced by LightManager::device_update_lights().

◆ shadow_set_membership

uint64_t KernelLight::shadow_set_membership

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

Referenced by LightManager::device_update_lights().

◆ spot

KernelSpotLight KernelLight::spot

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

Referenced by LightManager::device_update_lights().

◆ strength

float KernelLight::strength[3]

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

Referenced by LightManager::device_update_lights().

◆ tfm

Transform KernelLight::tfm

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

Referenced by LightManager::device_update_lights().

◆ type

int KernelLight::type

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

Referenced by LightManager::device_update_lights().

◆ use_caustics

int KernelLight::use_caustics

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

Referenced by LightManager::device_update_lights().


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