Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/InstanceCulling > API/Runtime/Renderer/InstanceCulling/FInstanceCullingContext > API/Runtime/Renderer/InstanceCulling/FInstanceCullingContext/__ctor
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/InstanceCulling/InstanceCullingContext.h |
| Include | #include "InstanceCulling/InstanceCullingContext.h" |
| Source | /Engine/Source/Runtime/Renderer/Private/InstanceCulling/InstanceCullingContext.cpp |
FInstanceCullingContext
&40;
ERHIFeatureLevel::Type FeatureLevel,
FInstanceCullingManager &42; InInstanceCullingManager,
TArrayView< const int32 > InViewIds,
const TRefCountPtr< IPooledRenderTarget > & InPrevHZB,
EInstanceCullingMode InInstanceCullingMode,
EInstanceCullingFlags InFlags,
EBatchProcessingMode InSingleInstanceProcessingMode
&41;
Remarks
Create an instance culling context to process draw commands that can be culled using GPU-Scene.
Parameters
| Name | Description |
|---|---|
| InPrevHZB | if non-null enables HZB-occlusion culling for the context (if r.InstanceCulling.OcclusionCull is enabled), NOTE: only one PrevHZB target is allowed accross all passes currently, so either must be atlased or otherwise the same. |