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

Frame data provider that manages history texture storage across frames. More...

#include <HistorySourcePass.h>

Inheritance diagram for ezHistorySourcePassTextureDataProvider:

Public Member Functions

void ResetTexture (ezStringView sSourcePassName)
 Clears the history texture for a given source pass.
 
ezGALTextureHandle GetOrCreateTexture (ezStringView sSourcePassName, const ezGALTextureCreationDescription &desc)
 Retrieves or creates a history texture for a given source pass.
 
- 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.
 

Public Attributes

ezHashTable< ezString, ezGALTextureHandlem_Data
 Maps source pass names to history textures.
 

Private Member Functions

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

Additional Inherited Members

- 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

Frame data provider that manages history texture storage across frames.

Member Function Documentation

◆ UpdateData()

virtual void * ezHistorySourcePassTextureDataProvider::UpdateData ( const ezRenderViewContext renderViewContext,
const ezExtractedRenderData extractedData 
)
inlineoverrideprivatevirtual

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: