![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TranslucentLighting.h>
Classes | |
| struct | FInjectionData |
| struct | FPerViewData |
Public Types | |
| typedef TArray< FInjectionData, SceneRenderingAllocator > | FInjectionDataArray |
Public Member Functions | |
| FTranslucentLightInjectionCollector (FRDGBuilder &GraphBuilder, TArrayView< const FViewInfo > Views, bool bAreLightsInLightGrid) | |
| void | AddLightForInjection (const FViewInfo &View, const uint32 ViewIndex, TArrayView< const FVisibleLightInfo > VisibleLightInfos, const FLightSceneInfo &LightSceneInfo, const FProjectedShadowInfo *InProjectedShadowInfo=nullptr) |
Public Attributes | |
| TArray< FPerViewData, SceneRenderingAllocator > & | InjectionDataPerView |
Utility for batching together multiple lighting injections
| typedef TArray<FInjectionData, SceneRenderingAllocator> FTranslucentLightInjectionCollector::FInjectionDataArray |
| FTranslucentLightInjectionCollector::FTranslucentLightInjectionCollector | ( | FRDGBuilder & | GraphBuilder, |
| TArrayView< const FViewInfo > | Views, | ||
| bool | bAreLightsInLightGrid | ||
| ) |
| void FTranslucentLightInjectionCollector::AddLightForInjection | ( | const FViewInfo & | View, |
| const uint32 | ViewIndex, | ||
| TArrayView< const FVisibleLightInfo > | VisibleLightInfos, | ||
| const FLightSceneInfo & | LightSceneInfo, | ||
| const FProjectedShadowInfo * | InProjectedShadowInfo = nullptr |
||
| ) |
Adds a light to LightInjectionData if it should be injected into the translucent volume, and caches relevant information in a FTranslucentLightInjectionData.
| InProjectedShadowInfo | is 0 for unshadowed lights |
| TArray<FPerViewData, SceneRenderingAllocator>& FTranslucentLightInjectionCollector::InjectionDataPerView |