Base class for light render data objects.
More...
#include <LightComponent.h>
|
| virtual bool | CanBatch (const ezRenderData &other) const override |
| | Returns whether this render data and the other render data can be batched together, e.g. rendered in one draw call. An implementation can assume that the other render data is of the same type as this render data.
|
| |
|
void | FillSortingKey (float fScreenSpaceSize) |
| |
|
void | FillShadowDataOffsetAndFadeOut (ezUInt32 uiDataOffset, float fFadeOut) |
| |
|
bool | IsDynamic () const |
| |
|
bool | IsStatic () const |
| |
|
bool | FlipWinding () const |
| |
|
ezUInt64 | GetFinalSortingKey (Category category, const ezCamera &camera) const |
| | Returns the final sorting for this render data with the given category and camera.
|
| |
|
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 constexpr ezUInt32 | s_uiBaseSortingKey = 0x10000 |
| |
Base class for light render data objects.
◆ CanBatch()
| bool ezLightRenderData::CanBatch |
( |
const ezRenderData & |
other | ) |
const |
|
overridevirtual |
Returns whether this render data and the other render data can be batched together, e.g. rendered in one draw call. An implementation can assume that the other render data is of the same type as this render data.
Reimplemented from ezRenderData.
The documentation for this class was generated from the following files:
- /home/runner/work/ezEngine/ezEngine/Code/Engine/RendererCore/Lights/LightComponent.h
- /home/runner/work/ezEngine/ezEngine/Code/Engine/RendererCore/Lights/Implementation/LightComponent.cpp