![]() |
OGRE-Next 3.0.0
Object-Oriented Graphics Rendering Engine
|
#include <OgreVaoManager.h>
Public Member Functions | |
MemoryStatsEntry (uint32 _poolType, uint32 _poolIdx, size_t _offset, size_t _sizeBytes, size_t _poolCapacity, bool _bPoolHasTextures) | |
uint64 | getCombinedPoolIdx () const |
getCombinedPoolIdx You can use this code to calculate pool capacity per poolType: | |
Public Attributes | |
bool | bPoolHasTextures |
Relevant for Vulkan: when this value is true, the whole pool may contain texture data (not necessarily this block) See Tutorial_Memory on how to deal with this parameter. | |
size_t | offset |
size_t | poolCapacity |
This value is the same for all entries with same getCombinedPoolIdx. | |
uint32 | poolIdx |
uint32 | poolType |
size_t | sizeBytes |
|
inline |
References bPoolHasTextures, offset, poolCapacity, poolIdx, poolType, and sizeBytes.
|
inline |
getCombinedPoolIdx You can use this code to calculate pool capacity per poolType:
bool Ogre::VaoManager::MemoryStatsEntry::bPoolHasTextures |
Relevant for Vulkan: when this value is true, the whole pool may contain texture data (not necessarily this block) See Tutorial_Memory on how to deal with this parameter.
Referenced by MemoryStatsEntry().
size_t Ogre::VaoManager::MemoryStatsEntry::offset |
Referenced by MemoryStatsEntry().
size_t Ogre::VaoManager::MemoryStatsEntry::poolCapacity |
This value is the same for all entries with same getCombinedPoolIdx.
Referenced by MemoryStatsEntry().
uint32 Ogre::VaoManager::MemoryStatsEntry::poolIdx |
Referenced by MemoryStatsEntry().
uint32 Ogre::VaoManager::MemoryStatsEntry::poolType |
Referenced by MemoryStatsEntry().
size_t Ogre::VaoManager::MemoryStatsEntry::sizeBytes |
Referenced by MemoryStatsEntry().