![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "MaterialCache/MaterialCacheMeshProcessor.h"#include "RendererModule.h"#include "MeshPassUtils.h"#include "NaniteSceneProxy.h"#include "NaniteVertexFactory.h"#include "ScenePrivate.h"#include "MaterialCache/MaterialCacheShaders.h"#include "Materials/MaterialRenderProxy.h"#include "Nanite/NaniteShading.h"#include "Nanite/NaniteShared.h"#include "MeshPassProcessor.inl"#include "MaterialCache/MaterialCacheStackProvider.h"#include "MaterialCache/MaterialCacheVirtualTextureRenderProxy.h"#include "Materials/Material.h"Variables | |
| bool | GMaterialCacheStaticMeshEnableViewportFromVS |
| bool CreateMaterialCacheComputeLayerShadingCommand | ( | const FScene & | Scene, |
| const FPrimitiveSceneProxy * | SceneProxy, | ||
| const FMaterialRenderProxy * | Material, | ||
| bool | bAllowDefaultFallback, | ||
| const FGuid & | TagGuid, | ||
| FRHICommandListBase & | RHICmdList, | ||
| FMaterialCacheLayerShadingCSCommand & | OutShadingCommand | ||
| ) |
Create a compute shading command with a layer material
| template bool CreateMaterialCacheComputeLayerShadingCommand< FMaterialCacheNaniteShadeCS > | ( | const FScene & | Scene, |
| const FPrimitiveSceneProxy * | SceneProxy, | ||
| const FMaterialRenderProxy * | Material, | ||
| bool | bAllowDefaultFallback, | ||
| const FGuid & | TagGuid, | ||
| FRHICommandListBase & | RHICmdList, | ||
| FMaterialCacheLayerShadingCSCommand & | Out | ||
| ) |
| template bool CreateMaterialCacheComputeLayerShadingCommand< FMaterialCacheShadeCS > | ( | const FScene & | Scene, |
| const FPrimitiveSceneProxy * | SceneProxy, | ||
| const FMaterialRenderProxy * | Material, | ||
| bool | bAllowDefaultFallback, | ||
| const FGuid & | TagGuid, | ||
| FRHICommandListBase & | RHICmdList, | ||
| FMaterialCacheLayerShadingCSCommand & | Out | ||
| ) |
Instantiate per shading command
| bool CreateMaterialCacheStaticLayerDrawCommand | ( | FScene & | Scene, |
| const FPrimitiveSceneProxy * | Proxy, | ||
| const FMaterialRenderProxy * | MaterialRenderProxy, | ||
| const FStaticMeshBatch & | MeshBatch, | ||
| const FGuid & | TagGuid, | ||
| FMaterialCacheMeshDrawCommand & | OutMeshCommand | ||
| ) |
Create a static mesh command with a layer material
| bool LoadMaterialCacheNaniteShadingPipeline | ( | const FScene & | Scene, |
| const Nanite::FSceneProxyBase * | SceneProxy, | ||
| const Nanite::FSceneProxyBase::FMaterialSection & | Section, | ||
| uint32 | ShaderTagIndex, | ||
| FNaniteShadingPipeline & | ShadingPipeline | ||
| ) |
|
extern |