Blender V5.0
KernelGlobalsCPU::KernelLight Struct Reference

#include <globals.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 device/cpu/globals.h.

Member Data Documentation

◆ [union]

◆ area

KernelAreaLight KernelGlobalsCPU::KernelLight::area

Definition at line 1625 of file device/cpu/globals.h.

◆ co

packed_float3 KernelGlobalsCPU::KernelLight::co

Definition at line 1616 of file device/cpu/globals.h.

◆ distant

KernelDistantLight KernelGlobalsCPU::KernelLight::distant

Definition at line 1626 of file device/cpu/globals.h.

◆ max_bounces

float KernelGlobalsCPU::KernelLight::max_bounces

Definition at line 1619 of file device/cpu/globals.h.

◆ object_id

int KernelGlobalsCPU::KernelLight::object_id

Definition at line 1618 of file device/cpu/globals.h.

◆ pad

int KernelGlobalsCPU::KernelLight::pad

Definition at line 1622 of file device/cpu/globals.h.

◆ shader_id

int KernelGlobalsCPU::KernelLight::shader_id

Definition at line 1617 of file device/cpu/globals.h.

◆ spot

KernelSpotLight KernelGlobalsCPU::KernelLight::spot

Definition at line 1624 of file device/cpu/globals.h.

◆ strength

float KernelGlobalsCPU::KernelLight::strength[3]

Definition at line 1620 of file device/cpu/globals.h.

◆ type

int KernelGlobalsCPU::KernelLight::type

Definition at line 1615 of file device/cpu/globals.h.

◆ use_caustics

int KernelGlobalsCPU::KernelLight::use_caustics

Definition at line 1621 of file device/cpu/globals.h.


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