![]() |
ezEngine Release 26.3
|
#include <FrameDataProvider.h>

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 ezRTTI * | GetDynamicRTTI () 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 ezRTTI * | GetStaticRTTI () |
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.
|
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.