UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VolumetricFog.h File Reference
#include "RHIDefinitions.h"
#include "SceneView.h"
#include "SceneRendering.h"

Go to the source code of this file.

Functions

int32 GetVolumetricFogGridPixelSize ()
 
FIntVector GetVolumetricFogResourceGridSize (const FViewInfo &View, int32 &OutVolumetricFogGridPixelSize)
 
FIntVector GetVolumetricFogViewGridSize (const FViewInfo &View, int32 &OutVolumetricFogGridPixelSize)
 
FVector2f GetVolumetricFogUVMaxForSampling (const FVector2f &ViewRectSize, FIntVector VolumetricFogResourceGridSize, int32 VolumetricFogResourceGridPixelSize)
 
FVector2f GetVolumetricFogPrevUVMaxForTemporalBlend (const FVector2f &ViewRectSize, FIntVector VolumetricFogResourceGridSize, int32 VolumetricFogResourceGridPixelSize)
 
FVector2f GetVolumetricFogFroxelToScreenSVPosRatio (const FViewInfo &View)
 
FRDGTextureDesc GetVolumetricFogRDGTextureDesc (const FIntVector &VolumetricFogResourceGridSize)
 
bool DoesPlatformSupportVolumetricFogVoxelization (const FStaticShaderPlatform Platform)
 
bool ShouldRenderVolumetricFog (const FScene *Scene, const FSceneViewFamily &ViewFamily)
 
const FProjectedShadowInfoGetShadowForInjectionIntoVolumetricFog (const FVisibleLightInfo &VisibleLightInfo)
 
bool LightNeedsSeparateInjectionIntoVolumetricFogForOpaqueShadow (const FViewInfo &View, const FLightSceneInfo *LightSceneInfo, const FVisibleLightInfo &VisibleLightInfo, const FScene &InScene)
 

Function Documentation

◆ DoesPlatformSupportVolumetricFogVoxelization()

bool DoesPlatformSupportVolumetricFogVoxelization ( const FStaticShaderPlatform  Platform)
extern

◆ GetShadowForInjectionIntoVolumetricFog()

const FProjectedShadowInfo * GetShadowForInjectionIntoVolumetricFog ( const FVisibleLightInfo VisibleLightInfo)
extern

◆ GetVolumetricFogFroxelToScreenSVPosRatio()

FVector2f GetVolumetricFogFroxelToScreenSVPosRatio ( const FViewInfo View)
extern

◆ GetVolumetricFogGridPixelSize()

int32 GetVolumetricFogGridPixelSize ( )
extern

◆ GetVolumetricFogPrevUVMaxForTemporalBlend()

FVector2f GetVolumetricFogPrevUVMaxForTemporalBlend ( const FVector2f ViewRectSize,
FIntVector  VolumetricFogResourceGridSize,
int32  VolumetricFogResourceGridPixelSize 
)
extern

◆ GetVolumetricFogRDGTextureDesc()

FRDGTextureDesc GetVolumetricFogRDGTextureDesc ( const FIntVector VolumetricFogResourceGridSize)
extern

◆ GetVolumetricFogResourceGridSize()

FIntVector GetVolumetricFogResourceGridSize ( const FViewInfo View,
int32 OutVolumetricFogGridPixelSize 
)
extern

◆ GetVolumetricFogUVMaxForSampling()

FVector2f GetVolumetricFogUVMaxForSampling ( const FVector2f ViewRectSize,
FIntVector  VolumetricFogResourceGridSize,
int32  VolumetricFogResourceGridPixelSize 
)
extern

◆ GetVolumetricFogViewGridSize()

FIntVector GetVolumetricFogViewGridSize ( const FViewInfo View,
int32 OutVolumetricFogGridPixelSize 
)
extern

◆ LightNeedsSeparateInjectionIntoVolumetricFogForOpaqueShadow()

bool LightNeedsSeparateInjectionIntoVolumetricFogForOpaqueShadow ( const FViewInfo View,
const FLightSceneInfo LightSceneInfo,
const FVisibleLightInfo VisibleLightInfo,
const FScene InScene 
)
extern

◆ ShouldRenderVolumetricFog()

bool ShouldRenderVolumetricFog ( const FScene Scene,
const FSceneViewFamily ViewFamily 
)
extern