ezEngine Release 26.3
Loading...
Searching...
No Matches
ezClusteredDataProvider Class Reference

#include <ClusteredDataProvider.h>

Inheritance diagram for ezClusteredDataProvider:

Private Member Functions

virtual void * UpdateData (const ezRenderViewContext &renderViewContext, const ezExtractedRenderData &extractedData) override
 

Additional Inherited Members

- Public Member Functions inherited from ezFrameDataProvider< ezClusteredDataGPU >
ezClusteredDataGPUGetData (const ezRenderViewContext &renderViewContext)
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 
- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 
- Protected Member Functions inherited from ezFrameDataProviderBase
void * GetData (const ezRenderViewContext &renderViewContext)
 Returns the cached frame data, updating it if necessary.
 

Detailed Description

Provides GPU buffers for clustered rendering each frame.

Converts CPU-side clustered data from ezClusteredDataExtractor into GPU buffers. The buffers contain lights, decals, reflection probes, and per-cluster item lists used by shaders to efficiently look up which items affect each pixel.

Member Function Documentation

◆ UpdateData()

void * ezClusteredDataProvider::UpdateData ( const ezRenderViewContext renderViewContext,
const ezExtractedRenderData extractedData 
)
overrideprivatevirtual

Derived classes implement this to create or update frame data.

Called once per frame when the data is first requested. Returns a pointer to the data.

Implements ezFrameDataProviderBase.


The documentation for this class was generated from the following files: