![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TranslucentLighting.h>
Public Member Functions | |
| int32 | GetIndex (const FViewInfo &View, int32 CascadeIndex) const |
| void | Init (FRDGBuilder &GraphBuilder, TArrayView< const FViewInfo > Views, ERDGPassFlags PassFlags) |
| bool | IsValid () const |
| FRDGTextureRef | GetAmbientTexture (const FViewInfo &View, int32 CascadeIndex) const |
| FRDGTextureRef | GetDirectionalTexture (const FViewInfo &View, int32 CascadeIndex) const |
Static Public Member Functions | |
| static void | GetTextureFormatAndCreationFlags (EPixelFormat &OutPixelFormat, ETextureCreateFlags &OutCreationFlags) |
Public Attributes | |
| TArray< FRDGTextureRef, TInlineAllocator< TVC_MAX > > | Ambient |
| TArray< FRDGTextureRef, TInlineAllocator< TVC_MAX > > | Directional |
| int32 | VolumeDim = 0 |
| TArray< int32, TInlineAllocator< 2 > > | ViewsToTexturePairs |
|
inline |
|
inline |
| int32 FTranslucencyLightingVolumeTextures::GetIndex | ( | const FViewInfo & | View, |
| int32 | CascadeIndex | ||
| ) | const |
Maps view to a texture index, accounting for sharing between some views
|
static |
Retrieve the statically defined pixel format and creation flags used for the translucency light volume textures
| void FTranslucencyLightingVolumeTextures::Init | ( | FRDGBuilder & | GraphBuilder, |
| TArrayView< const FViewInfo > | Views, | ||
| ERDGPassFlags | PassFlags | ||
| ) |
Initializes the translucent volume textures and clears them using a compute pass. PassFlags should be ERDGPassFlags::Compute or ERDGPassFlags::AsyncCompute.
|
inline |
| TArray<FRDGTextureRef, TInlineAllocator<TVC_MAX> > FTranslucencyLightingVolumeTextures::Ambient |
| TArray<FRDGTextureRef, TInlineAllocator<TVC_MAX> > FTranslucencyLightingVolumeTextures::Directional |
| TArray<int32, TInlineAllocator<2> > FTranslucencyLightingVolumeTextures::ViewsToTexturePairs |
Mapping between the view index and texture pair - needed because stereo views shares textures.
| int32 FTranslucencyLightingVolumeTextures::VolumeDim = 0 |