![]() |
Plasma Engine
2.0
|

Public Member Functions | |
| virtual void | FillBatchIdAndSortingKey () override |
Public Member Functions inherited from plRenderData | |
| plUInt64 | GetCategorySortingKey (Category category, const plCamera &camera) const |
Public Member Functions inherited from plReflectedClass | |
| virtual const plRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const plRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it. | |
| template<typename T > | |
| PL_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it. | |
Public Attributes | |
| plGALBufferHandle | m_hSkinningTransforms |
| plArrayPtr< const plUInt8 > | m_pNewSkinningTransformData |
| std::shared_ptr< bool > | m_bTransformsUpdated |
Public Attributes inherited from plMeshRenderData | |
| plMeshResourceHandle | m_hMesh |
| plMaterialResourceHandle | m_hMaterial |
| plColor | m_Color = plColor::White |
| plUInt32 | m_uiSubMeshIndex: 30 |
| plUInt32 | m_uiFlipWinding: 1 |
| plUInt32 | m_uiUniformScale: 1 |
| plUInt32 | m_uiUniqueID = 0 |
Public Attributes inherited from plRenderData | |
| plTransform | m_LastGlobalTransform = plTransform::MakeIdentity() |
| plTransform | m_GlobalTransform = plTransform::MakeIdentity() |
| plBoundingBoxSphere | m_GlobalBounds |
| plUInt32 | m_uiBatchId = 0 |
| BatchId is used to group render data in batches. | |
| plUInt32 | m_uiSortingKey = 0 |
| float | m_fSortingDepthOffset = 0.0f |
| plGameObjectHandle | m_hOwner |
Additional Inherited Members | |
Public Types inherited from plRenderData | |
| using | SortingKeyFunc = plUInt64 (*)(const plRenderData*, const plCamera&) |
| This function generates a 64bit sorting key for the given render data. Data with lower sorting key is rendered first. | |
Static Public Member Functions inherited from plRenderData | |
| static Category | RegisterCategory (const char *szCategoryName, SortingKeyFunc sortingKeyFunc) |
| static Category | FindCategory (plTempHashedString sCategoryName) |
| static void | GetAllCategoryNames (plDynamicArray< plHashedString > &out_categoryNames) |
| static const plRenderer * | GetCategoryRenderer (Category category, const plRTTI *pRenderDataType) |
| static plHashedString | GetCategoryName (Category category) |
Static Public Member Functions inherited from plNoBase | |
| static const plRTTI * | GetStaticRTTI () |
Protected Member Functions inherited from plMeshRenderData | |
| PL_FORCE_INLINE void | FillBatchIdAndSortingKeyInternal (plUInt32 uiAdditionalBatchData) |
|
overridevirtual |
Reimplemented from plMeshRenderData.