![]() |
ezEngine Release 26.3
|
#include <ExtractedRenderData.h>
Public Member Functions | |
| EZ_ALWAYS_INLINE void | SetCamera (const ezCamera &camera) |
| EZ_ALWAYS_INLINE const ezCamera & | GetCamera () const |
| EZ_ALWAYS_INLINE void | SetViewData (const ezViewData &viewData) |
| EZ_ALWAYS_INLINE const ezViewData & | GetViewData () const |
| EZ_ALWAYS_INLINE void | SetWorldTime (ezTime time) |
| EZ_ALWAYS_INLINE ezTime | GetWorldTime () const |
| EZ_ALWAYS_INLINE void | SetWorldDebugContext (const ezDebugRendererContext &debugContext) |
| EZ_ALWAYS_INLINE const ezDebugRendererContext & | GetWorldDebugContext () const |
| EZ_ALWAYS_INLINE void | SetViewDebugContext (const ezDebugRendererContext &debugContext) |
| EZ_ALWAYS_INLINE const ezDebugRendererContext & | GetViewDebugContext () const |
| void | AddRenderData (const ezRenderData *pRenderData, ezRenderData::Category category) |
| Adds render data for a specific rendering category. | |
| void | AddFrameData (const ezRenderData *pFrameData) |
| Adds frame-level data that is not tied to a specific render category. | |
| void | SortAndBatch () |
| Sorts and batches all render data by category and sorting key for efficient rendering. | |
| void | Clear () |
| ezRenderDataBatchList | GetRenderDataBatchesWithCategory (ezRenderData::Category category) const |
| Returns all render data batches for a specific category. | |
| ezArrayPtr< const ezRenderDataBatch::SortableRenderData > | GetRawRenderDataWithCategory (ezRenderData::Category category) const |
| Returns raw unsorted render data for a specific category. | |
| template<typename T > | |
| EZ_ALWAYS_INLINE const T * | GetFrameData () const |
Contains all render data extracted from a view for one frame.
During the extraction phase, render components add their render data to this container, organized by category (opaque, transparent, etc.). The data is then sorted and batched for efficient rendering. Also stores camera data, view data, world time, and debug contexts.