Blender  V2.93
Public Attributes | List of all members
KernelLight Struct Reference

#include <kernel_types.h>

Public Attributes

int type
 
float co [3]
 
int shader_id
 
int samples
 
float max_bounces
 
float random
 
float strength [3]
 
float pad1
 
Transform tfm
 
Transform itfm
 
union {
   KernelSpotLight   spot
 
   KernelAreaLight   area
 
   KernelDistantLight   distant
 
}; 
 

Detailed Description

Definition at line 1512 of file kernel_types.h.

Member Data Documentation

◆ 

union { ... }

◆ area

KernelAreaLight KernelLight::area

Definition at line 1525 of file kernel_types.h.

Referenced by LightManager::device_update_points().

◆ co

float KernelLight::co[3]

Definition at line 1514 of file kernel_types.h.

Referenced by LightManager::device_update_points().

◆ distant

KernelDistantLight KernelLight::distant

Definition at line 1526 of file kernel_types.h.

Referenced by LightManager::device_update_points().

◆ itfm

Transform KernelLight::itfm

Definition at line 1522 of file kernel_types.h.

Referenced by LightManager::device_update_points().

◆ max_bounces

float KernelLight::max_bounces

Definition at line 1517 of file kernel_types.h.

Referenced by LightManager::device_update_points().

◆ pad1

float KernelLight::pad1

Definition at line 1520 of file kernel_types.h.

◆ random

float KernelLight::random

Definition at line 1518 of file kernel_types.h.

Referenced by LightManager::device_update_points().

◆ samples

int KernelLight::samples

Definition at line 1516 of file kernel_types.h.

Referenced by LightManager::device_update_points().

◆ shader_id

int KernelLight::shader_id

Definition at line 1515 of file kernel_types.h.

Referenced by LightManager::device_update_points().

◆ spot

KernelSpotLight KernelLight::spot

Definition at line 1524 of file kernel_types.h.

Referenced by LightManager::device_update_points().

◆ strength

float KernelLight::strength[3]

Definition at line 1519 of file kernel_types.h.

Referenced by LightManager::device_update_points().

◆ tfm

Transform KernelLight::tfm

Definition at line 1521 of file kernel_types.h.

Referenced by LightManager::device_update_points().

◆ type

int KernelLight::type

Definition at line 1513 of file kernel_types.h.

Referenced by LightManager::device_update_points().


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