OGRE-Next
2.3
Object-Oriented Graphics Rendering Engine
|
Specifies the minimum squared resolution & number of slices to keep around all the for time StagingTextures. More...
#include <OgreTextureGpuManager.h>
Public Member Functions | |
BudgetEntry () | |
BudgetEntry (PixelFormatGpu _formatFamily, uint32 _minResolution, uint32 _minNumSlices) | |
bool | operator() (const BudgetEntry &_l, const BudgetEntry &_r) const |
Public Attributes | |
PixelFormatGpu | formatFamily |
uint32 | minNumSlices |
uint32 | minResolution |
Specifies the minimum squared resolution & number of slices to keep around all the for time StagingTextures.
So: PixelFormatGpu format = PixelFormatGpuUtils::getFamily(PFG_RGBA8_UNORM); BudgetEntry( format, 4096u, 2u ); Will keep around 128MB of staging texture, with a resolution of 4096x4096 x 2 slices.
|
inline |
|
inline |
bool Ogre::TextureGpuManager::BudgetEntry::operator() | ( | const BudgetEntry & | _l, |
const BudgetEntry & | _r | ||
) | const |
PixelFormatGpu Ogre::TextureGpuManager::BudgetEntry::formatFamily |
uint32 Ogre::TextureGpuManager::BudgetEntry::minNumSlices |
uint32 Ogre::TextureGpuManager::BudgetEntry::minResolution |