UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MaterialCacheMeshProcessor.h File Reference

Go to the source code of this file.

Classes

struct  FMaterialCacheLayerShadingCSCommand
 
struct  FMaterialCacheMeshDrawCommand
 
class  FMaterialCacheMeshProcessor
 
class  FMaterialCacheMeshPassContext
 

Functions

bool CreateMaterialCacheStaticLayerDrawCommand (FScene &Scene, const FPrimitiveSceneProxy *Proxy, const FMaterialRenderProxy *MaterialRenderProxy, const FStaticMeshBatch &MeshBatch, const FGuid &TagGuid, FMaterialCacheMeshDrawCommand &OutMeshCommand)
 
template<typename T >
bool CreateMaterialCacheComputeLayerShadingCommand (const FScene &Scene, const FPrimitiveSceneProxy *SceneProxy, const FMaterialRenderProxy *Material, bool bAllowDefaultFallback, const FGuid &TagGuid, FRHICommandListBase &RHICmdList, FMaterialCacheLayerShadingCSCommand &OutShadingCommand)
 

Function Documentation

◆ CreateMaterialCacheComputeLayerShadingCommand()

template<typename T >
bool CreateMaterialCacheComputeLayerShadingCommand ( const FScene Scene,
const FPrimitiveSceneProxy SceneProxy,
const FMaterialRenderProxy Material,
bool  bAllowDefaultFallback,
const FGuid TagGuid,
FRHICommandListBase RHICmdList,
FMaterialCacheLayerShadingCSCommand OutShadingCommand 
)
extern

Create a compute shading command with a layer material

◆ CreateMaterialCacheStaticLayerDrawCommand()

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