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...
)

Destructors

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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback