![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "LightFunctionRendering.h"#include "CoreMinimal.h"#include "Engine/Engine.h"#include "HAL/IConsoleManager.h"#include "EngineGlobals.h"#include "Materials/Material.h"#include "RHIDefinitions.h"#include "RHI.h"#include "ShaderParameters.h"#include "Shader.h"#include "SceneUtils.h"#include "RHIStaticStates.h"#include "PostProcess/SceneRenderTargets.h"#include "Materials/MaterialRenderProxy.h"#include "MaterialShaderType.h"#include "SceneRenderTargetParameters.h"#include "MaterialShader.h"#include "ShadowRendering.h"#include "DeferredShadingRenderer.h"#include "ScenePrivate.h"#include "LightRendering.h"#include "PipelineStateCache.h"#include "ClearQuad.h"#include "HairStrands/HairStrandsData.h"#include "VariableRateShadingImageManager.h"Classes | |
| class | FLightFunctionVS |
| class | FLightFunctionPS |
Functions | |
| IMPLEMENT_MATERIAL_SHADER_TYPE (, FLightFunctionVS, TEXT("/Engine/Private/LightFunctionVertexShader.usf"), TEXT("Main"), SF_Vertex) | |
| void | LightFunctionSvPositionToLightTransform (FMatrix44f &OutMatrix, const FViewInfo &View, const FLightSceneInfo &LightSceneInfo) |
| FVector3f | GetCamRelativeLightPosition (const FViewMatrices &ViewMatrices, const FLightSceneInfo &LightSceneInfo) |
| IMPLEMENT_MATERIAL_SHADER_TYPE (, FLightFunctionPS, TEXT("/Engine/Private/LightFunctionPixelShader.usf"), TEXT("Main"), SF_Pixel) | |
| float | GetLightFunctionFadeFraction (const FViewInfo &View, FSphere LightBounds) |
| FVector3f GetCamRelativeLightPosition | ( | const FViewMatrices & | ViewMatrices, |
| const FLightSceneInfo & | LightSceneInfo | ||
| ) |
| IMPLEMENT_MATERIAL_SHADER_TYPE | ( | FLightFunctionPS | , |
| TEXT("/Engine/Private/LightFunctionPixelShader.usf") | , | ||
| TEXT("Main") | , | ||
| SF_Pixel | |||
| ) |
| IMPLEMENT_MATERIAL_SHADER_TYPE | ( | FLightFunctionVS | , |
| TEXT("/Engine/Private/LightFunctionVertexShader.usf") | , | ||
| TEXT("Main") | , | ||
| SF_Vertex | |||
| ) |
| void LightFunctionSvPositionToLightTransform | ( | FMatrix44f & | OutMatrix, |
| const FViewInfo & | View, | ||
| const FLightSceneInfo & | LightSceneInfo | ||
| ) |