Blender V5.0
KernelParamsHIP::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/hip/globals.h.

Member Data Documentation

◆ [union]

◆ area

KernelAreaLight KernelParamsHIP::KernelLight::area

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

◆ co

packed_float3 KernelParamsHIP::KernelLight::co

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

◆ distant

KernelDistantLight KernelParamsHIP::KernelLight::distant

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

◆ max_bounces

float KernelParamsHIP::KernelLight::max_bounces

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

◆ object_id

int KernelParamsHIP::KernelLight::object_id

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

◆ pad

int KernelParamsHIP::KernelLight::pad

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

◆ shader_id

int KernelParamsHIP::KernelLight::shader_id

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

◆ spot

KernelSpotLight KernelParamsHIP::KernelLight::spot

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

◆ strength

float KernelParamsHIP::KernelLight::strength[3]

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

◆ type

int KernelParamsHIP::KernelLight::type

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

◆ use_caustics

int KernelParamsHIP::KernelLight::use_caustics

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


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