![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "PrimitiveSceneProxy.h"#include "PrimitiveSceneProxyDesc.h"#include "PrimitiveViewRelevance.h"#include "SceneView.h"#include "UObject/Package.h"#include "LevelUtils.h"#include "Engine/Engine.h"#include "Engine/LevelStreaming.h"#include "EngineUtils.h"#include "Components/BrushComponent.h"#include "PrimitiveSceneInfo.h"#include "Materials/Material.h"#include "Materials/MaterialRenderProxy.h"#include "MaterialDomain.h"#include "MaterialShared.h"#include "RenderUtils.h"#include "VT/RuntimeVirtualTexture.h"#include "NaniteSceneProxy.h"#include "ComponentRecreateRenderStateContext.h"#include "DataDrivenShaderPlatformInfo.h"#include "PrimitiveUniformShaderParametersBuilder.h"#include "InstanceDataSceneProxy.h"#include "GameFramework/ActorPrimitiveColorHandler.h"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 |
| bool CacheShadowDepthsFromPrimitivesUsingWPO | ( | ) |
| bool IsAllowingApproximateOcclusionQueries | ( | ) |
| bool IsParallelGatherDynamicMeshElementsEnabled | ( | ) |
| bool IsParallelGatherDynamicRayTracingInstancesEnabled | ( | ) |
| bool ShouldOptimizedWPOAffectNonNaniteShaderSelection | ( | ) |
| bool SupportsCachingMeshDrawCommands | ( | const FMeshBatch & | MeshBatch | ) |
Returns if specified mesh command can be cached, or needs to be recreated every frame.
| 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.
| bool SupportsNaniteRendering | ( | const FVertexFactory *RESTRICT | VertexFactory, |
| const FPrimitiveSceneProxy *RESTRICT | PrimitiveSceneProxy | ||
| ) |
Returns if specified mesh can be rendered via Nanite.
| 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 | ||
| ) |