![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "InstanceCulling/InstanceCullingContext.h"#include "CoreMinimal.h"#include "DataDrivenShaderPlatformInfo.h"#include "RHI.h"#include "RendererModule.h"#include "ShaderParameterMacros.h"#include "RenderGraphResources.h"#include "RenderGraphBuilder.h"#include "RenderGraphUtils.h"#include "SceneRendering.h"#include "ScenePrivate.h"#include "SystemTextures.h"#include "InstanceCulling/InstanceCullingManager.h"#include "InstanceCullingDefinitions.h"#include "InstanceCullingLoadBalancer.h"#include "InstanceCullingMergedContext.h"#include "InstanceCullingOcclusionQuery.h"#include "RenderCore.h"#include "MeshDrawCommandStats.h"#include "UnrealEngine.h"#include "RHIBreadcrumbs.h"#include "Materials/MaterialRenderProxy.h"#include "ViewData.h"#include "GPUSkinCache.h"| #define INST_CULL_CALLBACK | ( | CustomCode | ) |
| #define INST_CULL_CALLBACK_BIN_INDEX | ( | CustomCode | ) |
| DECLARE_GPU_STAT | ( | BuildRenderingCommands | ) |
| DECLARE_GPU_STAT | ( | BuildRenderingCommandsDeferred | ) |
| FORCEINLINE int32 GetArrayDataSize | ( | const TArray< DataType, AllocatorType > & | Array | ) |
| FORCEINLINE int32 GetArrayDataSize | ( | const TArrayView< const DataType > & | Array | ) |
| FMeshDrawCommandOverrideArgs GetMeshDrawCommandOverrideArgs | ( | const FInstanceCullingDrawParams & | InstanceCullingDrawParams | ) |
| IMPLEMENT_GLOBAL_SHADER | ( | FBuildInstanceIdBufferAndCommandsFromPrimitiveIdsCs | , |
| "/Engine/Private/InstanceCulling/BuildInstanceDrawCommands.usf" | , | ||
| "InstanceCullBuildInstanceIdBufferCS" | , | ||
| SF_Compute | |||
| ) |
| IMPLEMENT_GLOBAL_SHADER | ( | FCalculateCompactBlockInstanceOffsetsCs | , |
| "/Engine/Private/InstanceCulling/CompactVisibleInstances.usf" | , | ||
| "CalculateCompactBlockInstanceOffsetsCS" | , | ||
| SF_Compute | |||
| ) |
| IMPLEMENT_GLOBAL_SHADER | ( | FClearIndirectArgInstanceCountCs | , |
| "/Engine/Private/InstanceCulling/BuildInstanceDrawCommands.usf" | , | ||
| "ClearIndirectArgInstanceCountCS" | , | ||
| SF_Compute | |||
| ) |
| IMPLEMENT_GLOBAL_SHADER | ( | FCompactVisibleInstancesCs | , |
| "/Engine/Private/InstanceCulling/CompactVisibleInstances.usf" | , | ||
| "CompactVisibleInstances" | , | ||
| SF_Compute | |||
| ) |
| IMPLEMENT_STATIC_AND_SHADER_UNIFORM_BUFFER_STRUCT_EX | ( | FBatchedPrimitiveParameters | , |
| "BatchedPrimitive" | , | ||
| BatchedPrimitive | , | ||
| FShaderParametersMetadata::EUsageFlags::UniformView | |||
| ) |
| IMPLEMENT_STATIC_UNIFORM_BUFFER_SLOT | ( | BatchedPrimitive | ) |
| IMPLEMENT_STATIC_UNIFORM_BUFFER_SLOT | ( | InstanceCullingUbSlot | ) |
| IMPLEMENT_STATIC_UNIFORM_BUFFER_STRUCT | ( | FInstanceCullingGlobalUniforms | , |
| "InstanceCulling" | , | ||
| InstanceCullingUbSlot | |||
| ) |