ezEngine Release 26.3
Loading...
Searching...
No Matches
ezFrameDataProviderBase Class Referenceabstract

#include <FrameDataProvider.h>

Inheritance diagram for ezFrameDataProviderBase:

Protected Member Functions

virtual void * UpdateData (const ezRenderViewContext &renderViewContext, const ezExtractedRenderData &extractedData)=0
 
void * GetData (const ezRenderViewContext &renderViewContext)
 Returns the cached frame data, updating it if necessary.
 

Friends

class ezRenderPipeline
 

Additional Inherited Members

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

Detailed Description

Base class for frame data providers.

Frame data providers supply per-frame data to the rendering pipeline (e.g., clustered light data). The data is computed once per frame and cached. Derived classes implement UpdateData() to create or update the data. The pipeline calls GetData() to retrieve it.

Member Function Documentation

◆ UpdateData()

virtual void * ezFrameDataProviderBase::UpdateData ( const ezRenderViewContext renderViewContext,
const ezExtractedRenderData extractedData 
)
protectedpure virtual

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.

Implemented in ezClusteredDataProvider, ezSimplifiedDataProvider, and ezHistorySourcePassTextureDataProvider.


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