![]() |
XII Release 0.1.0
|
Public Member Functions | |
| virtual bool | CanBatch (const xiiRenderData &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. | |
Public Member Functions inherited from xiiMeshRenderData | |
| void | FillSortingKey () |
Public Member Functions inherited from xiiRenderData | |
| xiiUInt64 | GetFinalSortingKey (Category category, const xiiCamera &camera) const |
| Returns the final sorting for this render data with the given category and camera. | |
Public Member Functions inherited from xiiReflectedClass | |
| virtual const xiiRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const xiiRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it. | |
| template<typename T> | |
| XII_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it. | |
Public Attributes | |
| xiiSharedPtr< xiiGALBuffer > | m_pSkinningTransforms |
Public Attributes inherited from xiiMeshRenderData | |
| xiiMeshResourceHandle | m_hMesh |
| xiiMaterialResourceHandle | m_hMaterial |
| xiiColor | m_Color = xiiColor::White |
| xiiUInt32 | m_uiSubMeshIndex: 30 |
| xiiUInt32 | m_uiFlipWinding: 1 |
| xiiUInt32 | m_uiUniformScale: 1 |
| xiiUInt32 | m_uiUniqueID = 0 |
Public Attributes inherited from xiiRenderData | |
| xiiBitflags< Flags > | m_Flags |
| xiiTransform | m_GlobalTransform = xiiTransform::MakeIdentity() |
| xiiBoundingBoxSphere | m_GlobalBounds |
| xiiUInt32 | m_uiSortingKey = 0 |
| float | m_fSortingDepthOffset = 0.0f |
| xiiGameObjectHandle | m_hOwner |
Additional Inherited Members | |
Public Types inherited from xiiRenderData | |
| using | SortingKeyFunc = xiiUInt64 (*)(const xiiRenderData*, const xiiCamera&) |
| 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 xiiRenderData | |
| static Category | RegisterCategory (xiiStringView sCategoryName, SortingKeyFunc sortingKeyFunc) |
| static Category | RegisterDerivedCategory (xiiStringView sCategoryName, Category baseCategory) |
| static Category | RegisterRedirectedCategory (xiiStringView sCategoryName, Category staticCategory, Category dynamicCategory) |
| static Category | FindCategory (xiiTempHashedString sCategoryName) |
| static Category | ResolveCategory (Category category, bool bDynamic) |
| static xiiHashedString | GetCategoryName (Category category) |
| static void | GetAllCategoryNames (xiiDynamicArray< xiiHashedString > &out_categoryNames) |
| static const xiiRenderer * | GetCategoryRenderer (Category category, const xiiRTTI *pRenderDataType) |
Static Public Member Functions inherited from xiiNoBase | |
| static const xiiRTTI * | GetStaticRTTI () |
|
inlineoverridevirtual |
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 xiiMeshRenderData.