Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/FInstanceCullingContext
Overloads
Name
Remarks
Include Path
Unreal Specifiers
InstanceCulling/InstanceCullingContext.h
InstanceCulling/InstanceCullingContext.h
Create an instance culling context to process draw commands that can be culled using GPU-Scene.
InstanceCulling/InstanceCullingContext.h
FInstanceCullingContext()
Name
FInstanceCullingContext
Type
function
Header File
/Engine/Source/Runtime/Renderer/Public/InstanceCulling/InstanceCullingContext.h
Include Path
#include "InstanceCulling/InstanceCullingContext.h"
FInstanceCullingContext()
Copy full snippet
FInstanceCullingContext(EShaderPlatform, FInstanceCullingManager *, TArrayView< const int32 >, const TRefCountPtr< IPooledRenderTarget > &, EInstanceCullingMode, EInstanceCullingFlags, EBatchProcessingMode)
Name
FInstanceCullingContext
Type
function
Header File
/Engine/Source/Runtime/Renderer/Public/InstanceCulling/InstanceCullingContext.h
Include Path
#include "InstanceCulling/InstanceCullingContext.h"
FInstanceCullingContext
(
EShaderPlatform ShaderPlatform,
FInstanceCullingManager * InInstanceCullingManager,
TArrayView < const int32 > InViewIds,
const TRefCountPtr < IPooledRenderTarget > & InPrevHZB,
EInstanceCullingMode InInstanceCullingMode,
EInstanceCullingFlags InFlags,
EBatchProcessingMode InSingleInstanceProcessingMode
)
Copy full snippet
FInstanceCullingContext(const TCHAR , EShaderPlatform, FInstanceCullingManager , TArrayView< const int32 >, const TRefCountPtr< IPooledRenderTarget > &, EInstanceCullingMode, EInstanceCullingFlags, EBatchProcessingMode)
Description
Create an instance culling context to process draw commands that can be culled using GPU-Scene.
Name
FInstanceCullingContext
Type
function
Header File
/Engine/Source/Runtime/Renderer/Public/InstanceCulling/InstanceCullingContext.h
Include Path
#include "InstanceCulling/InstanceCullingContext.h"
Source
/Engine/Source/Runtime/Renderer/Private/InstanceCulling/InstanceCullingContext.cpp
FInstanceCullingContext
(
const TCHAR * PassName,
EShaderPlatform ShaderPlatform,
FInstanceCullingManager * InInstanceCullingManager,
TArrayView < const int32 > InViewIds,
const TRefCountPtr < IPooledRenderTarget > & InPrevHZB,
EInstanceCullingMode InInstanceCullingMode,
EInstanceCullingFlags InFlags,
EBatchProcessingMode InSingleInstanceProcessingMode
)
Copy full snippet
Parameters
Name
Remarks
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.