![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "CustomDepthRendering.h"#include "DataDrivenShaderPlatformInfo.h"#include "SceneUtils.h"#include "DepthRendering.h"#include "SceneRendering.h"#include "SceneCore.h"#include "ScenePrivate.h"#include "Materials/Material.h"#include "MeshPassProcessor.inl"#include "UnrealEngine.h"#include "Nanite/NaniteComposition.h"Classes | |
| class | FCustomDepthPassMeshProcessor |
Typedefs | |
| using | FNaniteCustomDepthDrawList = TArray< Nanite::FInstanceDraw, SceneRenderingAllocator > |
| FMeshPassProcessor * CreateCustomDepthPassProcessor | ( | ERHIFeatureLevel::Type | FeatureLevel, |
| const FScene * | Scene, | ||
| const FSceneView * | InViewIfDynamicMeshCommand, | ||
| FMeshPassDrawListContext * | InDrawListContext | ||
| ) |
| DECLARE_DWORD_COUNTER_STAT | ( | TEXT("Nanite Custom Depth Instances") | , |
| STAT_NaniteCustomDepthInstances | , | ||
| STATGROUP_Nanite | |||
| ) |
| DECLARE_GPU_DRAWCALL_STAT_NAMED | ( | CustomDepth | , |
| TEXT("Custom Depth") | |||
| ) |
| ECustomDepthPassLocation GetCustomDepthPassLocation | ( | EShaderPlatform | Platform | ) |
| FRHIDepthStencilState * GetCustomDepthStencilState | ( | bool | bWriteCustomStencilValues, |
| EStencilMask | StencilWriteMask | ||
| ) |
| bool IsCustomDepthPassWritingStencil | ( | ) |
| REGISTER_MESHPASSPROCESSOR_AND_PSOCOLLECTOR | ( | RegisterCustomDepthPass | , |
| CreateCustomDepthPassProcessor | , | ||
| EShadingPath::Deferred | , | ||
| EMeshPass::CustomDepth | , | ||
| EMeshPassFlags::MainView | |||
| ) |
| REGISTER_MESHPASSPROCESSOR_AND_PSOCOLLECTOR | ( | RegisterMobileCustomDepthPass | , |
| CreateCustomDepthPassProcessor | , | ||
| EShadingPath::Mobile | , | ||
| EMeshPass::CustomDepth | , | ||
| EMeshPassFlags::MainView | |||
| ) |