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

#include <SimplifiedDataExtractor.h>

Inheritance diagram for ezSimplifiedDataExtractor:

Public Member Functions

 ezSimplifiedDataExtractor (const char *szName="SimplifiedDataExtractor")
 
virtual void Extract (const ezView &view, const ezDynamicArray< const ezGameObject * > &visibleObjects, ezExtractedRenderData &ref_extractedRenderData) override
 
virtual void PostSortAndBatch (const ezView &view, const ezDynamicArray< const ezGameObject * > &visibleObjects, ezExtractedRenderData &ref_extractedRenderData) override
 
virtual ezResult Serialize (ezStreamWriter &inout_stream) const override
 
virtual ezResult Deserialize (ezStreamReader &inout_stream) override
 
- Public Member Functions inherited from ezExtractor
 ezExtractor (const char *szName)
 
void SetName (const char *szName)
 Sets the name of the extractor.
 
const char * GetName () const
 returns the name of the extractor.
 
- 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.
 

Additional Inherited Members

- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 
- Protected Member Functions inherited from ezExtractor
bool FilterByViewTags (const ezView &view, const ezGameObject *pObject) const
 returns true if the given object should be filtered by view tags.
 
void ExtractRenderData (const ezView &view, const ezGameObject *pObject, ezMsgExtractRenderData &msg, ezExtractedRenderData &extractedRenderData) const
 extracts the render data for the given object.
 
- Protected Attributes inherited from ezExtractor
ezHybridArray< ezHashedString, 4 > m_DependsOn
 

Detailed Description

Extracts minimal lighting data for simplified rendering.

Alternative to ezClusteredDataExtractor for cases where full clustered rendering is not required. Provides basic lighting information without the overhead of spatial clustering. Used for lower-end rendering paths or specific view types.

Member Function Documentation

◆ Deserialize()

ezResult ezSimplifiedDataExtractor::Deserialize ( ezStreamReader inout_stream)
overridevirtual

Reimplemented from ezExtractor.

◆ Extract()

virtual void ezSimplifiedDataExtractor::Extract ( const ezView view,
const ezDynamicArray< const ezGameObject * > &  visibleObjects,
ezExtractedRenderData ref_extractedRenderData 
)
inlineoverridevirtual

Implements ezExtractor.

◆ PostSortAndBatch()

void ezSimplifiedDataExtractor::PostSortAndBatch ( const ezView view,
const ezDynamicArray< const ezGameObject * > &  visibleObjects,
ezExtractedRenderData ref_extractedRenderData 
)
overridevirtual

Implements ezExtractor.

◆ Serialize()

ezResult ezSimplifiedDataExtractor::Serialize ( ezStreamWriter inout_stream) const
overridevirtual

Reimplemented from ezExtractor.


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