Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/SceneManagement.h |
Include |
#include "SceneManagement.h" |
class FMeshElementCollector
Encapsulates the gathering of meshes from the various FPrimitiveSceneProxy classes.
Name | Description | ||
---|---|---|---|
|
const bool |
bUseAsyncTasks |
This is related to some cvars and FApp stuff and if true means calling code should use async tasks. |
|
DynamicIndexBuffer |
Dynamic buffer pools. |
|
|
TArray< FGPUSce... |
DynamicPrimitiveCollectorPerView |
Tracks dynamic primitive data for upload to GPU Scene for every view, when enabled. |
|
DynamicReadBuffer |
||
|
DynamicVertexBuffer |
||
|
FeatureLevel |
||
|
MeshBatches |
Meshes to render |
|
|
TChunkedArray< ... |
MeshBatchStorage |
Using TChunkedArray which will never realloc as new elements are added |
|
MeshIdInPrimitivePerView |
Current Mesh Id In Primitive per view |
|
|
NumMeshBatchElementsPerView |
Number of elements in gathered meshes per view. |
|
|
OneFrameResources |
Resources that will be deleted at the end of the frame. |
|
|
ParallelTasks |
Tasks to wait for at the end of gathering dynamic mesh elements. |
|
|
const FPrimitiv... |
PrimitiveSceneProxy |
Current primitive being gathered. |
|
SimpleElementCollectors |
PDIs |
|
|
TemporaryProxies |
Material proxies that will be deleted at the end of the frame. |
|
|
Views |
Views being collected for |
Name | Description | |
---|---|---|
|
FMeshElementCollector ( |
Name | Description | |
---|---|---|
|
~FMeshElementCollector() |
Name | Description | ||
---|---|---|---|
|
AddMesh ( |
Adds a mesh batch to the collector for the specified view so that it can be rendered. |
|
|
AddTask |
||
|
AddTask |
||
|
AddViewMeshArrays ( |
||
|
AllocateMesh() |
Allocates an FMeshBatch that can be safely referenced by the collector (lifetime will be long enough). |
|
|
T & |
AllocateOneFrameResource ( |
Allocates a temporary resource that is safe to be referenced by an FMeshBatch added to the collector. |
|
ClearViewMeshArrays() |
||
|
FGlobalDynam... |
GetDynamicIndexBuffer() |
Return dynamic index buffer for this collector. |
|
FGlobalDynam... |
GetDynamicReadBuffer() |
Return dynamic read buffer for this collector. |
|
FGlobalDynam... |
GetDynamicVertexBuffer() |
Return dynamic vertex buffer for this collector. |
|
ERHIFeatureL... |
GetFeatureLevel() |
|
|
GetMeshBatchCount ( |
||
|
GetMeshElementCount ( |
||
|
FPrimitiveDr... |
GetPDI ( |
Accesses the PDI for drawing lines, sprites, etc. |
|
ProcessTasks() |
||
|
RegisterOneFrameMaterialProxy ( |
Add a material render proxy that will be cleaned up automatically |
|
|
SetPrimitive ( |
||
|
ShouldUseTasks() |