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

Functions

bool IsParallelGatherDynamicMeshElementsEnabled ()
 
bool IsParallelGatherDynamicRayTracingInstancesEnabled ()
 
bool IsAllowingApproximateOcclusionQueries ()
 
bool ShouldOptimizedWPOAffectNonNaniteShaderSelection ()
 
bool CacheShadowDepthsFromPrimitivesUsingWPO ()
 
bool SupportsCachingMeshDrawCommands (const FMeshBatch &MeshBatch)
 
bool SupportsCachingMeshDrawCommands (const FMeshBatch &MeshBatch, ERHIFeatureLevel::Type FeatureLevel)
 
bool SupportsNaniteRendering (const FVertexFactory *RESTRICT VertexFactory, const FPrimitiveSceneProxy *RESTRICT PrimitiveSceneProxy)
 
bool SupportsNaniteRendering (const FVertexFactory *RESTRICT VertexFactory, const FPrimitiveSceneProxy *RESTRICT PrimitiveSceneProxy, const FMaterialRenderProxy *MaterialRenderProxy, ERHIFeatureLevel::Type FeatureLevel)
 
bool SupportsNaniteRendering (const FVertexFactoryType *RESTRICT VertexFactoryType, const class FMaterial &Material, ERHIFeatureLevel::Type FeatureLevel)
 

Variables

bool GParallelGatherDynamicMeshElements = true
 
bool GParallelGatherDynamicRayTracingInstances = true
 

Function Documentation

◆ CacheShadowDepthsFromPrimitivesUsingWPO()

bool CacheShadowDepthsFromPrimitivesUsingWPO ( )

◆ IsAllowingApproximateOcclusionQueries()

bool IsAllowingApproximateOcclusionQueries ( )

◆ IsParallelGatherDynamicMeshElementsEnabled()

bool IsParallelGatherDynamicMeshElementsEnabled ( )

◆ IsParallelGatherDynamicRayTracingInstancesEnabled()

bool IsParallelGatherDynamicRayTracingInstancesEnabled ( )

◆ ShouldOptimizedWPOAffectNonNaniteShaderSelection()

bool ShouldOptimizedWPOAffectNonNaniteShaderSelection ( )

◆ SupportsCachingMeshDrawCommands() [1/2]

bool SupportsCachingMeshDrawCommands ( const FMeshBatch MeshBatch)

Returns if specified mesh command can be cached, or needs to be recreated every frame.

◆ SupportsCachingMeshDrawCommands() [2/2]

bool SupportsCachingMeshDrawCommands ( const FMeshBatch MeshBatch,
ERHIFeatureLevel::Type  FeatureLevel 
)

Returns if specified mesh command can be cached, or needs to be recreated every frame; this is a slightly slower version used for materials with external textures that need invalidating their PSOs.

◆ SupportsNaniteRendering() [1/3]

bool SupportsNaniteRendering ( const FVertexFactory *RESTRICT  VertexFactory,
const FPrimitiveSceneProxy *RESTRICT  PrimitiveSceneProxy 
)

Returns if specified mesh can be rendered via Nanite.

◆ SupportsNaniteRendering() [2/3]

bool SupportsNaniteRendering ( const FVertexFactory *RESTRICT  VertexFactory,
const FPrimitiveSceneProxy *RESTRICT  PrimitiveSceneProxy,
const FMaterialRenderProxy MaterialRenderProxy,
ERHIFeatureLevel::Type  FeatureLevel 
)

◆ SupportsNaniteRendering() [3/3]

bool SupportsNaniteRendering ( const FVertexFactoryType *RESTRICT  VertexFactoryType,
const class FMaterial Material,
ERHIFeatureLevel::Type  FeatureLevel 
)

Variable Documentation

◆ GParallelGatherDynamicMeshElements

bool GParallelGatherDynamicMeshElements = true

◆ GParallelGatherDynamicRayTracingInstances

bool GParallelGatherDynamicRayTracingInstances = true