Blender  V3.3
Public Attributes | List of all members
KernelLight Struct Reference

#include <types.h>

Public Attributes

int type
 
float co [3]
 
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
 
}; 
 

Detailed Description

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

Member Data Documentation

◆ 

union { ... }

◆ area

KernelAreaLight KernelLight::area

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

Referenced by LightManager::device_update_points().

◆ co

float KernelLight::co[3]

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

Referenced by LightManager::device_update_points().

◆ distant

KernelDistantLight KernelLight::distant

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

Referenced by LightManager::device_update_points().

◆ itfm

Transform KernelLight::itfm

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

Referenced by LightManager::device_update_points().

◆ lightgroup

int KernelLight::lightgroup

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

Referenced by LightManager::device_update_points().

◆ max_bounces

float KernelLight::max_bounces

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

Referenced by LightManager::device_update_points().

◆ random

float KernelLight::random

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

Referenced by LightManager::device_update_points().

◆ shader_id

int KernelLight::shader_id

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

Referenced by LightManager::device_update_points().

◆ spot

KernelSpotLight KernelLight::spot

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

Referenced by LightManager::device_update_points().

◆ strength

float KernelLight::strength[3]

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

Referenced by LightManager::device_update_points().

◆ tfm

Transform KernelLight::tfm

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

Referenced by LightManager::device_update_points().

◆ type

int KernelLight::type

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

Referenced by LightManager::device_update_points().

◆ use_caustics

int KernelLight::use_caustics

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

Referenced by LightManager::device_update_points().


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