|
|
EZ_FORCE_INLINE void | Fill (ezInstanceDataOffset instanceDataOffset, ezGALDynamicBufferHandle hInstanceDataBuffer, ezMaterialResourceHandle hMaterial, ezMeshResourceHandle hMesh, ezUInt32 uiMaterialSlotIndex=0, ezUInt32 uiSubMeshIndex=0, ezUInt32 uiNumInstances=1) |
| |
|
EZ_ALWAYS_INLINE void | SetFallbackGlobalBounds (const ezBoundingBoxSphere &globalBounds) |
| |
|
void | FillSortingKey () |
| |
| 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.
|
| |
|
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.
|
| |
◆ CanBatch()
| bool ezMeshRenderData::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.
Reimplemented in ezSkinnedMeshRenderData.
The documentation for this class was generated from the following files:
- /home/runner/work/ezEngine/ezEngine/Code/Engine/RendererCore/Meshes/MeshComponentBase.h
- /home/runner/work/ezEngine/ezEngine/Code/Engine/RendererCore/Meshes/Implementation/MeshComponentBase.cpp