FRayTracingMeshResourceCollector

Collector used to gather resources for the material mesh batches.

Windows
MacOS
Linux

Inheritance Hierarchy

FMeshElementCollector

FRayTracingMeshResourceCollector

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneManagement.h

Include

#include "SceneManagement.h"

Syntax

class FRayTracingMeshResourceCollector : public FMeshElementCollector

Remarks

Collector used to gather resources for the material mesh batches. It is also the actual owner of the temporary, per-frame resources created for each mesh batch. Mesh batches shall only weak-reference the resources located in the collector.

Constructors

Name Description

Public function

FRayTracingMeshResourceCollector

(
    ERHIFeatureLevel::Type InFeatureLev...,
    FGlobalDynamicIndexBuffer* InD...,
    FGlobalDynamicVertexBuffer* In...,
    FGlobalDynamicReadBuffer* InDy...
)

Functions

Name Description

Public function

void

 

AddMesh

(
    int32 ViewIndex,
    FMeshBatch& MeshBatch
)

Public function

FMeshBatch &

 

AllocateMesh()

No MeshBatch should be allocated from an FRayTracingMeshResourceCollector.

Public function

void

 

RegisterOneFrameMaterialProxy

(
    FMaterialRenderProxy* Proxy
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss