Nameless Engine
|
#include <Material.h>
Public Member Functions | |
size_t | getTotalSize () const |
bool | isMeshNodeAdded (MeshNode *pMeshNode) |
Public Attributes | |
std::unordered_map< MeshNode *, std::vector< MeshIndexBufferInfo > > | visibleMeshNodes |
std::unordered_map< MeshNode *, std::vector< MeshIndexBufferInfo > > | invisibleMeshNodes |
Groups mesh nodes by visibility.
|
inline |
Returns total number of visible and invisible mesh nodes that use this material.
|
inline |
Tells whether the specified node is already added to be considered.
pMeshNode | Mesh node to check. |
std::unordered_map<MeshNode*, std::vector<MeshIndexBufferInfo> > ne::MeshNodesThatUseThisMaterial::invisibleMeshNodes |
Stores pairs of "invisible mesh node" - "index buffers of that mesh that use this material".
std::unordered_map<MeshNode*, std::vector<MeshIndexBufferInfo> > ne::MeshNodesThatUseThisMaterial::visibleMeshNodes |
Stores pairs of "visible mesh node" - "index buffers of that mesh that use this material".